Commit a12899ad authored by Paul B Mahol's avatar Paul B Mahol

avfiler/vf_mix: fix crash with >8 bit depth

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment