Commit 66b26265 authored by Jai Menon's avatar Jai Menon Committed by Justin Ruggles

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

Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 40f8675c
......@@ -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);
......
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