Browse code

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

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

Michael Niedermayer authored on 2014/12/13 02:14:15
Showing 1 changed files
... ...
@@ -321,7 +321,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
321 321
                 w = FF_CEIL_RSHIFT(inlink->w, 4);
322 322
                 h = 1;
323 323
             } else {
324
-                w = FF_CEIL_RSHIFT(qp_stride, 4);
324
+                w = qp_stride;
325 325
                 h = FF_CEIL_RSHIFT(inlink->h, 4);
326 326
             }
327 327