changeset 7043:e1ed057dc7c3 libavcodec

fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).
author jbr
date Sun, 15 Jun 2008 18:01:25 +0000
parents 74c1f1881d1a
children ab9533fb9335
files alac.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Fri Jun 13 19:30:27 2008 +0000
+++ b/alac.c	Sun Jun 15 18:01:25 2008 +0000
@@ -536,8 +536,8 @@
     } 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);