[FFmpeg-soc] [soc]: r1832 - aac/aac.c
andoma
subversion at mplayerhq.hu
Sun Jan 13 07:52:58 CET 2008
Author: andoma
Date: Sun Jan 13 07:52:58 2008
New Revision: 1832
Log:
Fix messed up indent
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Sun Jan 13 07:52:58 2008
@@ -1213,11 +1213,12 @@ static void quant_to_spec_tool(AACContex
const uint16_t * offsets = ics->swb_offset;
int g, i, group, k;
- if(ics->window_sequence == EIGHT_SHORT_SEQUENCE)
- for(g = 0; g < 8; g++)
- memset(coef + g * 128 + offsets[ics->max_sfb], 0, sizeof(float)*(128 - offsets[ics->max_sfb]));
- else
- memset(coef + offsets[ics->max_sfb], 0, sizeof(float)*(1024 - offsets[ics->max_sfb]));
+ if(ics->window_sequence == EIGHT_SHORT_SEQUENCE) {
+ for(g = 0; g < 8; g++)
+ memset(coef + g * 128 + offsets[ics->max_sfb], 0, sizeof(float)*(128 - offsets[ics->max_sfb]));
+ } else {
+ memset(coef + offsets[ics->max_sfb], 0, sizeof(float)*(1024 - offsets[ics->max_sfb]));
+ }
for (g = 0; g < ics->num_window_groups; g++) {
for (i = 0; i < ics->max_sfb; i++) {
More information about the FFmpeg-soc
mailing list