mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
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);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user