aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode-1.1.7-ffmpeg24.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2015-05-23 18:42:38 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-20 11:55:20 +0700
commitdbf4c04be62be254e5bd9ce8b1ddfe0b12d48f08 (patch)
tree4cd895594c9e63cead0060438bd7c1c34e15acc2 /multimedia/transcode/transcode-1.1.7-ffmpeg24.patch
parentfcf3692ac81d9cbeb7765969a6f17c34901b636f (diff)
multimedia/transcode: Fixed building with newer ffmpeg.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/transcode/transcode-1.1.7-ffmpeg24.patch')
-rw-r--r--multimedia/transcode/transcode-1.1.7-ffmpeg24.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/transcode/transcode-1.1.7-ffmpeg24.patch b/multimedia/transcode/transcode-1.1.7-ffmpeg24.patch
new file mode 100644
index 000000000000..57a91774abc5
--- /dev/null
+++ b/multimedia/transcode/transcode-1.1.7-ffmpeg24.patch
@@ -0,0 +1,18 @@
+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;
+ }
+