Mercurial > libavcodec.hg
comparison aac.c @ 10687:d55c821b147a libavcodec
Use enum and constant to avoid three icc warnings.
author | cehoyos |
---|---|
date | Tue, 15 Dec 2009 15:57:18 +0000 |
parents | 168ea860d58f |
children | 750102456f00 |
comparison
equal
deleted
inserted
replaced
10686:7fd8e33acaab | 10687:d55c821b147a |
---|---|
1643 /** | 1643 /** |
1644 * Convert spectral data to float samples, applying all supported tools as appropriate. | 1644 * Convert spectral data to float samples, applying all supported tools as appropriate. |
1645 */ | 1645 */ |
1646 static void spectral_to_sample(AACContext *ac) | 1646 static void spectral_to_sample(AACContext *ac) |
1647 { | 1647 { |
1648 int i, type; | 1648 enum RawDataBlockType type; |
1649 for (type = 3; type >= 0; type--) { | 1649 for (type = TYPE_LFE; type >= TYPE_SCE; type--) { |
1650 int i; | |
1650 for (i = 0; i < MAX_ELEM_ID; i++) { | 1651 for (i = 0; i < MAX_ELEM_ID; i++) { |
1651 ChannelElement *che = ac->che[type][i]; | 1652 ChannelElement *che = ac->che[type][i]; |
1652 if (che) { | 1653 if (che) { |
1653 if (type <= TYPE_CPE) | 1654 if (type <= TYPE_CPE) |
1654 apply_channel_coupling(ac, che, type, i, BEFORE_TNS, apply_dependent_coupling); | 1655 apply_channel_coupling(ac, che, type, i, BEFORE_TNS, apply_dependent_coupling); |