]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_uspp: The qp array width is qp_stride not stride/16
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Dec 2014 00:41:33 +0000 (01:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Dec 2014 01:00:04 +0000 (02:00 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_uspp.c

index fd07eb9a563b9374f700a2024beb6a07ecb62299..8352a12d16c7e4848964e7782cc8bacf16e5c614 100644 (file)
@@ -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);
             }