diff options
author | Jai Menon <realityman@gmx.net> | 2008-06-15 22:01:25 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-06-15 22:01:25 +0400 |
commit | 66b26265f87f1839d9fa0baaa92ad57b1d4cf3fb (patch) | |
tree | 2093b2189b58046babe57cdd6b79ccef436e1579 /libavcodec/alac.c | |
parent | 40f8675ccf24eed9532b20203b9227dd43b2678f (diff) |
fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).
Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index e704565e8d..6815fa1aea 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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); |