Use enum and constant to avoid three icc warnings.

Originally committed as revision 20874 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Carl Eugen Hoyos 15 years ago
parent 798e589d4a
commit 257c7147e1
  1. 5
      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) {

Loading…
Cancel
Save