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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/head
Michael Niedermayer 10 years ago
parent e8dbecb995
commit 2a8eb0d156
  1. 2
      libavfilter/vf_spp.c

@ -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);
}

Loading…
Cancel
Save