提交 a12899ad 编写于 作者: P Paul B Mahol

avfiler/vf_mix: fix crash with >8 bit depth

Signed-off-by: NPaul B Mahol <onemda@gmail.com>
上级 0b360cae
......@@ -151,7 +151,7 @@ static int process_frame(FFFrameSync *fs)
uint16_t *dst = (uint16_t *)out->data[p];
for (y = 0; y < s->height[p]; y++) {
for (x = 0; x < s->linesize[p]; x++) {
for (x = 0; x < s->linesize[p] / 2; x++) {
int val = 0;
for (i = 0; i < s->nb_inputs; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册