avfilter/vf_spp: The qp array width is qp_stride not stride/16
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Dec 2014 17:14:15 +0000 (18:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Dec 2014 17:14:15 +0000 (18:14 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_spp.c

index 406925a..43fce69 100644 (file)
@@ -321,7 +321,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);
             }