mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 00:30:33 -04:00
- Update to 0.30 - Remove patch-ffmpeg2 (not needed now that 0.30 uses new FFmpeg API) - Tidy up remaining patches (pet portlint) Changes this release: https://git.xiph.org/?p=ffmpeg2theora.git;a=blob;f=ChangeLog;h=7b2c20e19e4ca6d042d8f2bb3d4491e513d422fa;hb=ff86d204adf335b6314ef568b08d4af8799f108d This new version also allows ffmpeg2theora to build successfully once multimedia/ffmpeg is updated to 3.0.x. Note that multimedia/ffmpeg is currently still on the 2.8.x branch, however this update is backwards compatible with ffmpeg 2.8.x. PR: 209375 Approved by: wg (maintainer timeout), mat (mentor) Differential Revision: https://reviews.freebsd.org/D6784
14 lines
447 B
C
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)
|