[125494] trunk/dports/multimedia/transcode
devans at macports.org
devans at macports.org
Thu Sep 18 13:53:06 PDT 2014
Revision: 125494
https://trac.macports.org/changeset/125494
Author: devans at macports.org
Date: 2014-09-18 13:53:06 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
transcode: patch for ffmpeg 2.4 compatibility, increment revision to rebuild.
Modified Paths:
--------------
trunk/dports/multimedia/transcode/Portfile
Added Paths:
-----------
trunk/dports/multimedia/transcode/files/patch-ffmpeg-2.4.diff
Modified: trunk/dports/multimedia/transcode/Portfile
===================================================================
--- trunk/dports/multimedia/transcode/Portfile 2014-09-18 20:51:52 UTC (rev 125493)
+++ trunk/dports/multimedia/transcode/Portfile 2014-09-18 20:53:06 UTC (rev 125494)
@@ -5,7 +5,7 @@
name transcode
version 1.1.7
-revision 14
+revision 15
epoch 1
license GPL-2+
categories multimedia
@@ -52,6 +52,7 @@
patch-filter-filter_pp.c.diff \
patch-encode-Makefile.in.diff \
patch-ffmpeg-2.0.diff \
+ patch-ffmpeg-2.4.diff \
patch-freetype-2.5.1.diff
configure.args --disable-mmx \
Added: trunk/dports/multimedia/transcode/files/patch-ffmpeg-2.4.diff
===================================================================
--- trunk/dports/multimedia/transcode/files/patch-ffmpeg-2.4.diff (rev 0)
+++ trunk/dports/multimedia/transcode/files/patch-ffmpeg-2.4.diff 2014-09-18 20:53:06 UTC (rev 125494)
@@ -0,0 +1,20 @@
+--- import/probe_ffmpeg.c.orig 2014-09-17 10:26:42.000000000 -0700
++++ import/probe_ffmpeg.c 2014-09-17 10:27:48.000000000 -0700
+@@ -109,7 +109,7 @@
+ return;
+ }
+
+- ret = av_find_stream_info(lavf_dmx_context);
++ ret = avformat_find_stream_info(lavf_dmx_context, NULL);
+ if (ret < 0) {
+ tc_log_error(__FILE__, "unable to fetch informations from '%s'"
+ " (libavformat failure)",
+@@ -120,7 +120,7 @@
+
+ translate_info(lavf_dmx_context, ipipe->probe_info);
+
+- av_close_input_file(lavf_dmx_context);
++ avformat_close_input(&lavf_dmx_context);
+ return;
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/a68cb334/attachment-0001.html>
More information about the macports-changes
mailing list