aballier    14/10/08 12:08:00

  Added:                transcode-1.1.7-ffmpeg24.patch
  Log:
  fix build with ffmpeg 2.4+; bug #520190, patch by jospezial and additional 
guards by me
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 160F534A)

Revision  Changes    Path
1.1                  media-video/transcode/files/transcode-1.1.7-ffmpeg24.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/files/transcode-1.1.7-ffmpeg24.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/files/transcode-1.1.7-ffmpeg24.patch?rev=1.1&content-type=text/plain

Index: transcode-1.1.7-ffmpeg24.patch
===================================================================
https://bugs.gentoo.org/show_bug.cgi?id=520190

Index: transcode-1.1.7/import/probe_ffmpeg.c
===================================================================
--- transcode-1.1.7.orig/import/probe_ffmpeg.c
+++ transcode-1.1.7/import/probe_ffmpeg.c
@@ -120,7 +120,11 @@ void probe_ffmpeg(info_t *ipipe)
 
     translate_info(lavf_dmx_context, ipipe->probe_info);
 
+#if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53,25,0)
+    avformat_close_input(&lavf_dmx_context);
+#else
     av_close_input_file(lavf_dmx_context);
+#endif
     return;
 }
 




Reply via email to