freebsd-ports/multimedia/ffmpeg2theora/files/patch-src__ffmpeg2theora.c
Armin Pirkovitsch 61010562f9 - Update to version 0.29
- Add MAKE_JOBS_SAFE
- Remove shlib versions

PR:           ports/170159
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
Feature safe: yes
2012-12-01 00:04:33 +00:00

14 lines
461 B
C

--- src/ffmpeg2theora.c.orig 2012-01-29 17:00:19.000000000 +0900
+++ src/ffmpeg2theora.c 2012-07-04 01:49:09.000000000 +0900
@@ -2970,7 +2970,11 @@
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)