Reduce number of warnings when compiling with icc by two.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 28 Dec 2008 19:48:43 +0000 (19:48 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 28 Dec 2008 19:48:43 +0000 (19:48 +0000)
Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aac.c

index e815041..c9af1c8 100644 (file)
@@ -1482,7 +1482,8 @@ 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, type;
+    int i;
+    enum RawDataBlockType type;
     for(type = 3; type >= 0; type--) {
         for (i = 0; i < MAX_ELEM_ID; i++) {
             ChannelElement *che = ac->che[type][i];