[gegl] ff-save: allocate extra column of pixels per frame



commit 3ccb04fe140f65762f21939ed9d51b2486358248
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri Nov 27 03:53:18 2015 +0100

    ff-save: allocate extra column of pixels per 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 781e602..2920382 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -570,7 +570,7 @@ alloc_picture (int pix_fmt, int width, int height)
   picture = av_frame_alloc ();
   if (!picture)
     return NULL;
-  size = avpicture_get_size (pix_fmt, width, height + 1);
+  size = avpicture_get_size (pix_fmt, width + 1, height + 1);
   picture_buf = malloc (size);
   if (!picture_buf)
     {


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