[gegl] ff-load: do not use deprecated avcodec_frame_alloc



commit 6d50c42e2c9ae180ec1086280885ddacbb2d2ff8
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Sep 24 15:59:14 2015 +0200

    ff-load: do not use deprecated avcodec_frame_alloc

 operations/external/ff-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 570d1e7..f00eb45 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -325,7 +325,7 @@ prepare (GeglOperation *operation)
       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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]