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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-12-12 01:41:33 +01:00
parent d2d8ac24b8
commit 5172782352

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