diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index cc3ad8d29f..a89cbd3896 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -641,6 +641,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, } } } + /* this codec relies on wraparound instead of clipping audio */ if(bits) { //decode 16-bit data for(i = stereo; i >= 0; i--) pred[i] = sign_extend(av_bswap16(get_bits(&gb, 16)), 16);