contrib/transcode/transcode-1.1.7-ffmpeg-2.4.patch
2016-06-26 16:55:55 +10:00

14 lines
368 B
Diff

diff --git a/import/probe_ffmpeg.c b/import/probe_ffmpeg.c
index 96d3d49..8e61c51 100644
--- a/import/probe_ffmpeg.c
+++ b/import/probe_ffmpeg.c
@@ -120,7 +120,7 @@ void probe_ffmpeg(info_t *ipipe)
translate_info(lavf_dmx_context, ipipe->probe_info);
- av_close_input_file(lavf_dmx_context);
+ avformat_close_input(&lavf_dmx_context);
return;
}