Build fix for various versions of libav.

This commit is contained in:
mjbudd77 2021-09-14 21:36:50 -04:00
parent 18768ef4b3
commit 8e2af98295
1 changed files with 4 additions and 1 deletions

View File

@ -1125,8 +1125,11 @@ static void print_Codecs(void)
static int initMedia( const char *filename )
{
//const AVOutputFormat *fmt;
#ifdef ff_const59
ff_const59 AVOutputFormat *fmt;
#else
AVOutputFormat *fmt;
#endif
/* Initialize libavcodec, and register all codecs and formats. */
//av_register_all();