[FFmpeg-soc] [soc]: r1822 - aac/aac.c
andoma
subversion at mplayerhq.hu
Sat Jan 12 08:31:42 CET 2008
Author: andoma
Date: Sat Jan 12 08:31:41 2008
New Revision: 1822
Log:
We dont need to clear the unused parts of quantized coefficients since quant_to_spec_tool() wont read them anyway
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Sat Jan 12 08:31:41 2008
@@ -1135,10 +1135,7 @@ static void spectral_data(AACContext * a
static const int unsigned_cb[] = { 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1 };
int i, k, g;
const uint16_t * offsets = ics->swb_offset;
- for (g = 0; g < ics->num_window_groups; g++) {
- int total = (ics->window_sequence == EIGHT_SHORT_SEQUENCE) ? 128 : 1024;
- memset(icoef + g*total + offsets[ics->max_sfb], 0, sizeof(int)*(total - offsets[ics->max_sfb]));
- }
+
for (g = 0; g < ics->num_window_groups; g++) {
for (i = 0; i < ics->max_sfb; i++) {
const int cur_cb = cb[g][i];
More information about the FFmpeg-soc
mailing list