mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfiler/vf_mix: fix crash with >8 bit depth
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
0b360cae1c
commit
a12899ad9b
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user