[gegl] ff-save: allocate extra column of pixels per frame
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-save: allocate extra column of pixels per frame
- Date: Fri, 27 Nov 2015 03:22:04 +0000 (UTC)
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]