]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Revert r16375: It broke aac decoding.
authorcehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 28 Dec 2008 20:08:39 +0000 (20:08 +0000)
committercehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 28 Dec 2008 20:08:39 +0000 (20:08 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16376 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/aac.c

index c9af1c84fd95d62da609a43b935c6621392787ec..e8150416180c0f3729cfed91934497f5db54f18e 100644 (file)
@@ -1482,8 +1482,7 @@ static void apply_channel_coupling(AACContext * ac, ChannelElement * cc,
  * Convert spectral data to float samples, applying all supported tools as appropriate.
  */
 static void spectral_to_sample(AACContext * ac) {
-    int i;
-    enum RawDataBlockType type;
+    int i, type;
     for(type = 3; type >= 0; type--) {
         for (i = 0; i < MAX_ELEM_ID; i++) {
             ChannelElement *che = ac->che[type][i];