1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

smacker: add a clarification notice about audio decoding

This commit is contained in:
Kostya Shishkov 2013-05-27 18:21:04 +02:00
parent a3fc62e89e
commit 268bb88544

View File

@ -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);