[FFmpeg-devel] [PATCH]Silence two icc warnings when compiling aac.c

Carl Eugen Hoyos cehoyos
Mon Dec 22 21:47:17 CET 2008


Hi!

Attached patch reduces the number of warnings when compiling aac.c with 
icc by two.

Please comment, Carl Eugen
-------------- next part --------------
Index: libavcodec/aac.c
===================================================================
--- libavcodec/aac.c	(revision 16270)
+++ libavcodec/aac.c	(working copy)
@@ -1482,7 +1482,8 @@
  * 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];



More information about the ffmpeg-devel mailing list