[FFmpeg-soc] [soc]: r3198 - aac/aac.c
superdump
subversion at mplayerhq.hu
Tue Aug 12 18:25:29 CEST 2008
Author: superdump
Date: Tue Aug 12 18:25:29 2008
New Revision: 3198
Log:
Line reordering and vertical alignment to make the assignments more readable
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Tue Aug 12 18:25:29 2008
@@ -561,16 +561,16 @@ static int decode_ics_info(AACContext *
ics->group_len[ics->num_window_groups-1] = 1;
}
}
- ics->swb_offset = swb_offset_128[ac->m4ac.sampling_index];
- ics->num_swb = ff_aac_num_swb_128[ac->m4ac.sampling_index];
ics->num_windows = 8;
- ics->tns_max_bands = tns_max_bands_128[ac->m4ac.sampling_index];
+ ics->swb_offset = swb_offset_128[ac->m4ac.sampling_index];
+ ics->num_swb = ff_aac_num_swb_128[ac->m4ac.sampling_index];
+ ics->tns_max_bands = tns_max_bands_128[ac->m4ac.sampling_index];
} else {
- ics->max_sfb = get_bits(gb, 6);
- ics->swb_offset = swb_offset_1024[ac->m4ac.sampling_index];
- ics->num_swb = ff_aac_num_swb_1024[ac->m4ac.sampling_index];
+ ics->max_sfb = get_bits(gb, 6);
ics->num_windows = 1;
- ics->tns_max_bands = tns_max_bands_1024[ac->m4ac.sampling_index];
+ ics->swb_offset = swb_offset_1024[ac->m4ac.sampling_index];
+ ics->num_swb = ff_aac_num_swb_1024[ac->m4ac.sampling_index];
+ ics->tns_max_bands = tns_max_bands_1024[ac->m4ac.sampling_index];
if (get_bits1(gb)) {
#ifdef AAC_LTP
if (ac->m4ac.object_type == AOT_AAC_MAIN) {
More information about the FFmpeg-soc
mailing list