summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c')
-rw-r--r--multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c b/multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c
new file mode 100644
index 000000000000..5b210f9b14b7
--- /dev/null
+++ b/multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c
@@ -0,0 +1,14 @@
+--- src/ffmpeg2theora.c.orig 2016-01-10 04:35:56 UTC
++++ src/ffmpeg2theora.c
+@@ -3103,7 +3103,11 @@ int main(int argc, char **argv) {
+ fprintf(stderr,"\nUnable to decode input.\n");
+ return(1);
+ }
++#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53,17,0)
++ av_close_input_file(convert->context);
++#else
+ avformat_close_input(&convert->context);
++#endif
+ }
+ else{
+ if (info.frontend)