Commit f98edc73 authored by Michael Niedermayer's avatar Michael Niedermayer

smacker: add forgotten *

found by fenrir
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5e85fd9f
......@@ -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];
......
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