Build fix for various versions of libav.
This commit is contained in:
parent
18768ef4b3
commit
8e2af98295
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue