Commit f0d76d45 authored by jbr's avatar jbr

fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13775 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b897e3fa
...@@ -536,8 +536,8 @@ static int alac_decode_frame(AVCodecContext *avctx, ...@@ -536,8 +536,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
} else { } else {
/* not compressed, easy case */ /* not compressed, easy case */
int i, chan; int i, chan;
for (chan = 0; chan < channels; chan++) for (i = 0; i < outputsamples; i++)
for (i = 0; i < outputsamples; i++) { for (chan = 0; chan < channels; chan++) {
int32_t audiobits; int32_t audiobits;
audiobits = get_bits_long(&alac->gb, alac->setinfo_sample_size); audiobits = get_bits_long(&alac->gb, alac->setinfo_sample_size);
......
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