summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJai Menon <realityman@gmx.net>2008-06-15 18:01:25 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-06-15 18:01:25 +0000
commit66b26265f87f1839d9fa0baaa92ad57b1d4cf3fb (patch)
tree2093b2189b58046babe57cdd6b79ccef436e1579 /libavcodec
parent40f8675ccf24eed9532b20203b9227dd43b2678f (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')
-rw-r--r--libavcodec/alac.c4
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);