ports/multimedia/ffmpeg2theora/files/patch-src_ffmpeg2theora.c
Antoine Brodin 26b4c8f71f Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed

With hat:	portmgr
2021-01-01 10:11:34 +00:00

14 lines
447 B
C

--- 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)