Commit 8e7be2ad authored by mru's avatar mru

AAC: 10l: fix PNS decoding

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19970 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e08b01ef
...@@ -861,7 +861,7 @@ static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024], ...@@ -861,7 +861,7 @@ static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024],
for (group = 0; group < ics->group_len[g]; group++) { for (group = 0; group < ics->group_len[g]; group++) {
float scale; float scale;
float band_energy = 0; float band_energy = 0;
float *cf = coef + group * 128; float *cf = coef + group * 128 + offsets[i];
int len = offsets[i+1] - offsets[i]; int len = offsets[i+1] - offsets[i];
for (k = offsets[i]; k < offsets[i + 1]; k++) { for (k = offsets[i]; k < offsets[i + 1]; k++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment