I have attached the patch.
From 89355b410116eb01f370b2b709c8e84efd94f516 Mon Sep 17 00:00:00 2001
From: Arwa Arif <arwaarif1...@gmail.com>
Date: Wed, 28 Jan 2015 19:35:06 +0530
Subject: [PATCH] Fix frame-alignment in PP7

---
 libavfilter/vf_pp7.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_pp7.c b/libavfilter/vf_pp7.c
index 3f8e746..0a70902 100644
--- a/libavfilter/vf_pp7.c
+++ b/libavfilter/vf_pp7.c
@@ -347,6 +347,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
                 return AVERROR(ENOMEM);
             }
             av_frame_copy_props(out, in);
+            out->width = in->width;
+            out->height = in->height;
         }
 
         if (qp_table || pp7->qp) {
-- 
1.7.9.5

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to