Add FFMPEGInit back

This commit is contained in:
SteveGilvarry 2015-11-05 19:36:11 +11:00
parent db6aab2071
commit 6002f251c0
1 changed files with 3 additions and 0 deletions

View File

@ -195,6 +195,9 @@ extern "C" {
#endif #endif
#endif #endif
/* A single function to initialize ffmpeg, to avoid multiple initializations */
void FFMPEGInit();
#if HAVE_LIBAVUTIL #if HAVE_LIBAVUTIL
enum _AVPIXELFORMAT GetFFMPEGPixelFormat(unsigned int p_colours, unsigned p_subpixelorder); enum _AVPIXELFORMAT GetFFMPEGPixelFormat(unsigned int p_colours, unsigned p_subpixelorder);
#endif // HAVE_LIBAVUTIL #endif // HAVE_LIBAVUTIL