Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vidl2_ffmpeg_init.cxx

Go to the documentation of this file.
00001 // This is brl/bbas/vidl2/vidl2_ffmpeg_init.cxx
00002 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00003 #pragma implementation
00004 #endif
00005 //:
00006 // \file
00007 // \author Matt Leotta
00008 // \date   21 Dec 2005
00009 //
00010 //-----------------------------------------------------------------------------
00011 
00012 #include "vidl2_ffmpeg_init.h"
00013 
00014 extern "C" {
00015 #include <ffmpeg/avformat.h>
00016 }
00017 
00018 //--------------------------------------------------------------------------------
00019 
00020 void vidl2_ffmpeg_init()
00021 {
00022   static bool initialized = false;
00023   if ( ! initialized ) {
00024     av_register_all();
00025     av_log_set_level(AV_LOG_ERROR);
00026     initialized = true;
00027   }
00028 }

Generated on Thu Jan 10 14:51:31 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.4.4