hwoarang 15/03/13 20:08:38 Added: libdlna-0.2.4-ffmpeg.patch Log: Adapt to the latest ffmpeg API. Bug #540150 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Revision Changes Path 1.1 media-libs/libdlna/files/libdlna-0.2.4-ffmpeg.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdlna/files/libdlna-0.2.4-ffmpeg.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdlna/files/libdlna-0.2.4-ffmpeg.patch?rev=1.1&content-type=text/plain Index: libdlna-0.2.4-ffmpeg.patch =================================================================== Adapt to the latest ffmpeg API Gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=540150 Signed-off-by: Markos Chandras <[email protected]> Index: libdlna-0.2.4/src/profiles.c =================================================================== --- libdlna-0.2.4.orig/src/profiles.c +++ libdlna-0.2.4/src/profiles.c @@ -334,7 +334,12 @@ dlna_guess_media_profile (dlna_t *dlna, p = p->next; } +#if LIBAVFORMAT_VERSION_MAJOR < 54 av_close_input_file (ctx); +#else + avformat_close_input(&ctx); +#endif + free (codecs); return profile; }
