summaryrefslogtreecommitdiff
path: root/media-libs/gegl/files/gegl-0.2.0-ffmpeg-4-0-compat.patch
blob: 6b8e9792c026b29613448f76afb514e542c64dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
         {