Windows build fix for compiling against newer libav.

This commit is contained in:
mjbudd77 2021-09-15 01:54:51 -04:00
parent 8e2af98295
commit 954e7d847c
1 changed files with 2 additions and 3 deletions

View File

@ -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();