summaryrefslogtreecommitdiff
path: root/extra/gegl/ff-load.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gegl/ff-load.patch')
-rw-r--r--extra/gegl/ff-load.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/gegl/ff-load.patch b/extra/gegl/ff-load.patch
new file mode 100644
index 0000000..b3c7a5a
--- /dev/null
+++ b/extra/gegl/ff-load.patch
@@ -0,0 +1,15 @@
+This little patch makes it build though:
+--- a/operations/external/ff-load.c 2018-12-18 09:22:34.467409854 +0100
++++ b/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)
+ {
+