avfilter/vf_spp: The qp array width is qp_stride not stride/16
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e8dbecb995
commit
2a8eb0d156
@ -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…
x
Reference in New Issue
Block a user