Revert r16375: It broke aac decoding.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 28 Dec 2008 20:08:39 +0000 (20:08 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 28 Dec 2008 20:08:39 +0000 (20:08 +0000)
Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aac.c

index c9af1c8..e815041 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];