transcode-1.1.7-ffmpeg24.patch 544 B

12345678910111213141516171819
  1. https://bugs.gentoo.org/show_bug.cgi?id=520190
  2. Index: transcode-1.1.7/import/probe_ffmpeg.c
  3. ===================================================================
  4. --- transcode-1.1.7.orig/import/probe_ffmpeg.c
  5. +++ transcode-1.1.7/import/probe_ffmpeg.c
  6. @@ -120,7 +120,11 @@ void probe_ffmpeg(info_t *ipipe)
  7. translate_info(lavf_dmx_context, ipipe->probe_info);
  8. +#if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53,25,0)
  9. + avformat_close_input(&lavf_dmx_context);
  10. +#else
  11. av_close_input_file(lavf_dmx_context);
  12. +#endif
  13. return;
  14. }