Windows build fix for compiling against newer libav.
This commit is contained in:
parent
8e2af98295
commit
954e7d847c
|
@ -1125,12 +1125,11 @@ static void print_Codecs(void)
|
|||
|
||||
static int initMedia( const char *filename )
|
||||
{
|
||||
#ifdef ff_const59
|
||||
ff_const59 AVOutputFormat *fmt;
|
||||
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 59, 0, 0 )
|
||||
const AVOutputFormat *fmt;
|
||||
#else
|
||||
AVOutputFormat *fmt;
|
||||
#endif
|
||||
|
||||
/* Initialize libavcodec, and register all codecs and formats. */
|
||||
//av_register_all();
|
||||
|
||||
|
|
Loading…
Reference in New Issue