aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2013-05-27 18:21:04 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2013-05-28 06:17:08 +0200
commit268bb88544d9a5256992a9817e60972461359865 (patch)
tree7852dc0007c8e541d50a850b6b44948088189f72 /libavcodec
parenta3fc62e89e1aa09c44e918726ec556210471d56e (diff)
downloadffmpeg-268bb88544d9a5256992a9817e60972461359865.tar.gz
smacker: add a clarification notice about audio decoding
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/smacker.c1
1 files changed, 1 insertions, 0 deletions
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);