[gegl] ff-save: use av_frame_alloc instead of avcodec_alloc_frame



commit d258297e943e95316427dcae439e55ceeda8b7e4
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Nov 21 21:29:57 2015 +0100

    ff-save: use av_frame_alloc instead of avcodec_alloc_frame

 operations/external/ff-save.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index 7f957f4..5b0b0bf 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -524,7 +524,7 @@ alloc_picture (int pix_fmt, int width, int height)
   uint8_t  *picture_buf;
   int       size;
 
-  picture = avcodec_alloc_frame ();
+  picture = av_frame_alloc ();
   if (!picture)
     return NULL;
   size = avpicture_get_size (pix_fmt, width, height + 1);


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