Skip to content
Snippets Groups Projects
Commit 268bb885 authored by Kostya Shishkov's avatar Kostya Shishkov
Browse files

smacker: add a clarification notice about audio decoding

parent a3fc62e8
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment