diff options
author | Sebastian Pipping <sping@gentoo.org> | 2019-03-09 19:21:04 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2019-03-09 19:21:59 +0100 |
commit | c14536acbbaf812c83be04f8db58abb76b04b93f (patch) | |
tree | b16cbee0958808ae064e07e6ffdf4fee6c979b4c /media-libs/gegl/files | |
parent | media-libs/gd: fix build for systems without SSE support (diff) | |
download | gentoo-c14536acbbaf812c83be04f8db58abb76b04b93f.tar.gz gentoo-c14536acbbaf812c83be04f8db58abb76b04b93f.tar.bz2 gentoo-c14536acbbaf812c83be04f8db58abb76b04b93f.zip |
media-libs/gegl: 0.2 with ffmpeg 4
Closes: https://bugs.gentoo.org/673378
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'media-libs/gegl/files')
-rw-r--r-- | media-libs/gegl/files/gegl-0.2.0-ffmpeg-4-0-compat.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/gegl/files/gegl-0.2.0-ffmpeg-4-0-compat.patch b/media-libs/gegl/files/gegl-0.2.0-ffmpeg-4-0-compat.patch new file mode 100644 index 000000000000..6b8e9792c026 --- /dev/null +++ b/media-libs/gegl/files/gegl-0.2.0-ffmpeg-4-0-compat.patch @@ -0,0 +1,13 @@ +--- ./operations/external/ff-load.c.org 2018-12-18 09:22:34.467409854 +0100 ++++ ./operations/external/ff-load.c 2018-12-18 09:22:50.921379092 +0100 +@@ -309,8 +309,8 @@ + g_warning ("codec not found"); + } + +- if (p->codec->capabilities & CODEC_CAP_TRUNCATED) +- p->enc->flags |= CODEC_FLAG_TRUNCATED; ++ if (p->codec->capabilities & AV_CODEC_CAP_TRUNCATED) ++ p->enc->flags |= AV_CODEC_FLAG_TRUNCATED; + + if (avcodec_open2 (p->enc, p->codec, NULL) < 0) + { |