aballier 15/02/15 10:22:48 Added: noad-0.8.6-ffmpeg25.patch Log: fix build with ffmpeg 2.5, bug #540090 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path 1.1 media-video/noad/files/patches-0.8.x/noad-0.8.6-ffmpeg25.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/files/patches-0.8.x/noad-0.8.6-ffmpeg25.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/files/patches-0.8.x/noad-0.8.6-ffmpeg25.patch?rev=1.1&content-type=text/plain Index: noad-0.8.6-ffmpeg25.patch =================================================================== Index: noad-0.8.6/ffmpeg_decoder.cpp =================================================================== --- noad-0.8.6.orig/ffmpeg_decoder.cpp +++ noad-0.8.6/ffmpeg_decoder.cpp @@ -253,7 +253,11 @@ int FFMPegDecoder::decoder_exit() // close the file if( pFormatCtx ) { +#if LIBAVFORMAT_VERSION_MAJOR < 54 av_close_input_file(pFormatCtx); +#else + avformat_close_input(&pFormatCtx); +#endif pFormatCtx = NULL; } // Close the codec
