[FFmpeg-soc] [soc]: r2487 - aac/aac.c
superdump
subversion at mplayerhq.hu
Thu Jun 19 17:01:56 CEST 2008
Author: superdump
Date: Thu Jun 19 17:01:56 2008
New Revision: 2487
Log:
Cosmetics
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Thu Jun 19 17:01:56 2008
@@ -493,7 +493,7 @@ static int output_configure(AACContext *
for(j = 0; j < 4; j++) {
if(pcs->che_type[j][i] && !ac->che[j][i]) {
ac->che[j][i] = av_mallocz(sizeof(che_struct));
- } else
+ } else
che_freep(&ac->che[j][i]);
}
}
@@ -519,7 +519,7 @@ static int output_configure(AACContext *
mixdown[MIXDOWN_FRONT] = ac->che[j][i];
if(!mixdown[MIXDOWN_BACK ] && pcs->che_type[j][i] == AAC_CHANNEL_BACK)
mixdown[MIXDOWN_BACK ] = ac->che[j][i];
- }
+ }
if(j == ID_SCE && !mixdown[MIXDOWN_CENTER] && pcs->che_type[j][i] == AAC_CHANNEL_FRONT)
mixdown[MIXDOWN_CENTER] = ac->che[j][i];
}
@@ -681,7 +681,7 @@ static int program_config_element_defaul
pcs.che_type[ID_SCE][1] = AAC_CHANNEL_BACK; // Back Center
if(channels > 4)
pcs.che_type[ID_CPE][(channels == 7) + 1]
- = AAC_CHANNEL_BACK; // Back Stereo
+ = AAC_CHANNEL_BACK; // Back Stereo
if(channels > 5)
pcs.che_type[ID_LFE][0] = AAC_CHANNEL_LFE; // LFE
if(channels == 7)
More information about the FFmpeg-soc
mailing list