[FFmpeg-soc] [soc]: r1439 - aac/aac.c
andoma
subversion at mplayerhq.hu
Sat Nov 10 22:22:25 CET 2007
Author: andoma
Date: Sat Nov 10 22:22:25 2007
New Revision: 1439
Log:
Make the M/S tool work with EIGHT_SHORT_SEQUENCE
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Sat Nov 10 22:22:25 2007
@@ -1293,13 +1293,15 @@ static void ms_tool(AACContext * ac, cpe
for (gp = 0; gp < ics->group_len[g]; gp++) {
for (i = 0; i < ics->max_sfb; i++) {
if (ms->mask[g][i]) {
- for (k = offsets[i] + gp*128; k < offsets[i+1] + gp*128; k++) {
+ for (k = offsets[i]; k < offsets[i+1]; k++) {
float tmp = ch0[k] - ch1[k];
ch0[k] += ch1[k];
ch1[k] = tmp;
}
}
}
+ ch0 += 128;
+ ch1 += 128;
}
//av_log(ac->avccontext, AV_LOG_INFO, "\n");
}
More information about the FFmpeg-soc
mailing list