changeset 10688:750102456f00 libavcodec

Undo r20874: It broke AAC decoding.
author cehoyos
date Wed, 16 Dec 2009 11:39:14 +0000
parents d55c821b147a
children d124d9b688d0
files aac.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Tue Dec 15 15:57:18 2009 +0000
+++ b/aac.c	Wed Dec 16 11:39:14 2009 +0000
@@ -1645,9 +1645,8 @@
  */
 static void spectral_to_sample(AACContext *ac)
 {
-    enum RawDataBlockType type;
-    for (type = TYPE_LFE; type >= TYPE_SCE; type--) {
-        int i;
+    int i, type;
+    for (type = 3; type >= 0; type--) {
         for (i = 0; i < MAX_ELEM_ID; i++) {
             ChannelElement *che = ac->che[type][i];
             if (che) {