diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-12-15 15:57:18 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-12-15 15:57:18 +0000 |
commit | 257c7147e1fde196a3f649af6003eff8ddba787f (patch) | |
tree | 285f63df5ea7e550f2f92525a2b0a8dde4e5ff59 /libavcodec | |
parent | 798e589d4a2bfe26fe430f21e6a52ae0fe948705 (diff) | |
download | ffmpeg-257c7147e1fde196a3f649af6003eff8ddba787f.tar.gz |
Use enum and constant to avoid three icc warnings.
Originally committed as revision 20874 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aac.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index c53d56813d..ae09d19ed2 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -1645,8 +1645,9 @@ static void apply_channel_coupling(AACContext *ac, ChannelElement *cc, */ 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) { |