avfiler/vf_mix: fix crash with >8 bit depth

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-04-25 14:08:21 +02:00
parent 0b360cae1c
commit a12899ad9b
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {