[FFmpeg-cvslog] avfilter/vf_uspp: The qp array width is qp_stride not stride/16

Michael Niedermayer git at videolan.org
Fri Dec 12 02:07:51 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec 12 01:41:33 2014 +0100| [5172782352118c72060187296d411e38e3df9d34] | committer: Michael Niedermayer

avfilter/vf_uspp: The qp array width is qp_stride not stride/16

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5172782352118c72060187296d411e38e3df9d34
---

 libavfilter/vf_uspp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index fd07eb9..8352a12 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -379,7 +379,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
                 w = FF_CEIL_RSHIFT(inlink->w, 4);
                 h = 1;
             } else {
-                w = FF_CEIL_RSHIFT(qp_stride, 4);
+                w = qp_stride;
                 h = FF_CEIL_RSHIFT(inlink->h, 4);
             }
 



More information about the ffmpeg-cvslog mailing list