[FFmpeg-cvslog] r20874 - trunk/libavcodec/aac.c
cehoyos
subversion
Tue Dec 15 16:57:18 CET 2009
Author: cehoyos
Date: Tue Dec 15 16:57:18 2009
New Revision: 20874
Log:
Use enum and constant to avoid three icc warnings.
Modified:
trunk/libavcodec/aac.c
Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c Tue Dec 15 14:46:42 2009 (r20873)
+++ trunk/libavcodec/aac.c Tue Dec 15 16:57:18 2009 (r20874)
@@ -1645,8 +1645,9 @@ static void apply_channel_coupling(AACCo
*/
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) {
More information about the ffmpeg-cvslog
mailing list