# HG changeset patch # User cehoyos # Date 1260892638 0 # Node ID d55c821b147a0b130cb9e878c8f93c187489cea2 # Parent 7fd8e33acaab011e14135ac7c035b26cdcec2927 Use enum and constant to avoid three icc warnings. diff -r 7fd8e33acaab -r d55c821b147a aac.c --- a/aac.c Tue Dec 15 13:46:42 2009 +0000 +++ b/aac.c Tue Dec 15 15:57:18 2009 +0000 @@ -1645,8 +1645,9 @@ */ static void spectral_to_sample(AACContext *ac) { - int i, type; - for (type = 3; type >= 0; type--) { + enum RawDataBlockType type; + for (type = TYPE_LFE; type >= TYPE_SCE; type--) { + int i; for (i = 0; i < MAX_ELEM_ID; i++) { ChannelElement *che = ac->che[type][i]; if (che) {