Commit 51727823 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d2d8ac24
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment