mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
smacker: add forgotten *
found by fenrir Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5e85fd9f9c
commit
f98edc73c5
@ -659,7 +659,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
||||
} else { //8-bit data
|
||||
for(i = stereo; i >= 0; i--)
|
||||
pred[i] = get_bits(&gb, 8);
|
||||
if (stereo + unp_size > data_size)
|
||||
if (stereo + unp_size > *data_size)
|
||||
return -1;
|
||||
for(i = 0; i < stereo; i++)
|
||||
*samples8++ = pred[i];
|
||||
|
Loading…
Reference in New Issue
Block a user