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

Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jai Menon 2008-06-15 18:01:25 +00:00 committed by Justin Ruggles
parent 40f8675ccf
commit 66b26265f8
1 changed files with 2 additions and 2 deletions

View File

@ -536,8 +536,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
} else {
/* not compressed, easy case */
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;
audiobits = get_bits_long(&alac->gb, alac->setinfo_sample_size);