Commit 2a8eb0d1 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e8dbecb9
...@@ -321,7 +321,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -321,7 +321,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
w = FF_CEIL_RSHIFT(inlink->w, 4); w = FF_CEIL_RSHIFT(inlink->w, 4);
h = 1; h = 1;
} else { } else {
w = FF_CEIL_RSHIFT(qp_stride, 4); w = qp_stride;
h = FF_CEIL_RSHIFT(inlink->h, 4); 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