diff options
author | root <root@rshg054.dnsready.net> | 2013-10-21 01:08:10 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-21 01:08:10 -0700 |
commit | 61f20cbeb90ac877764e14b7c4e1c5c08b3e5383 (patch) | |
tree | 8fb05b655ad5450c255af4dfd869ea29756bdad5 /extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff | |
parent | 6f2775d967e6db730957ea986826945c408431c3 (diff) |
Mon Oct 21 01:07:41 PDT 2013
Diffstat (limited to 'extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff')
-rw-r--r-- | extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff b/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff index a33ec6f7f..02fe77702 100644 --- a/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff +++ b/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff @@ -1,12 +1,21 @@ -diff -Naur gegl-0.2.0/operations/external/ff-load.c gegl-0.2.0-1/operations/external/ff-load.c +diff -u -r gegl-0.2.0/operations/external/ff-load.c gegl-0.2.0-1/operations/external/ff-load.c --- gegl-0.2.0/operations/external/ff-load.c 2012-04-01 13:17:57.000000000 +0200 -+++ gegl-0.2.0-1/operations/external/ff-load.c 2012-07-11 12:42:05.174756560 +0200 ++++ gegl-0.2.0-1/operations/external/ff-load.c 2013-10-20 03:22:06.824278863 +0200 @@ -271,7 +271,7 @@ gint err; ff_cleanup (o); - err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL); -+err = avformat_open_input (&p->ic, o->path, NULL, NULL); ++ err = avformat_open_input (&p->ic, o->path, NULL, NULL); if (err < 0) { print_error (o->path, err); +@@ -312,7 +312,7 @@ + if (p->codec->capabilities & CODEC_CAP_TRUNCATED) + p->enc->flags |= CODEC_FLAG_TRUNCATED; + +- if (avcodec_open (p->enc, p->codec) < 0) ++ if (avcodec_open2 (p->enc, p->codec, NULL) < 0) + { + g_warning ("error opening codec %s", p->enc->codec->name); + return; |