Revision: 148294 https://trac.macports.org/changeset/148294 Author: devans@macports.org Date: 2016-05-02 22:35:07 -0700 (Mon, 02 May 2016) Log Message: ----------- gegl: patch ff-load/ff-save for ffmpeg-3.0 compatibility, increment revision. Modified Paths: -------------- trunk/dports/graphics/gegl/Portfile trunk/dports/graphics/gegl/files/patch-ffmpeg.diff Modified: trunk/dports/graphics/gegl/Portfile =================================================================== --- trunk/dports/graphics/gegl/Portfile 2016-05-03 05:28:55 UTC (rev 148293) +++ trunk/dports/graphics/gegl/Portfile 2016-05-03 05:35:07 UTC (rev 148294) @@ -8,7 +8,7 @@ name gegl conflicts gegl-devel version 0.2.0 -revision 16 +revision 17 license {GPL-3+ LGPL-3+} set branch [join [lrange [split ${version} .] 0 1] .] categories graphics Modified: trunk/dports/graphics/gegl/files/patch-ffmpeg.diff =================================================================== --- trunk/dports/graphics/gegl/files/patch-ffmpeg.diff 2016-05-03 05:28:55 UTC (rev 148293) +++ trunk/dports/graphics/gegl/files/patch-ffmpeg.diff 2016-05-03 05:35:07 UTC (rev 148294) @@ -206,3 +206,25 @@ { /*XXX: FOO p->audio_st = add_audio_stream (op, p->oc, p->fmt->audio_codec);*/ } +--- operations/external/ff-load.c.orig 2016-05-02 05:14:09.000000000 -0700 ++++ operations/external/ff-load.c 2016-05-02 05:17:28.000000000 -0700 +@@ -321,7 +321,7 @@ + p->width = p->enc->width; + p->height = p->enc->height; + p->frames = 10000000; +- p->lavc_frame = avcodec_alloc_frame (); ++ p->lavc_frame = av_frame_alloc (); + + if (p->fourcc) + g_free (p->fourcc); +--- operations/workshop/external/ff-save.c.orig 2016-05-02 05:14:32.000000000 -0700 ++++ operations/workshop/external/ff-save.c 2016-05-02 05:15:58.000000000 -0700 +@@ -537,7 +537,7 @@ + uint8_t *picture_buf; + int size; + +- picture = avcodec_alloc_frame (); ++ picture = av_frame_alloc (); + if (!picture) + return NULL; + size = avpicture_get_size (pix_fmt, width, height);
participants (1)
-
devans@macports.org