AAC: 10l: fix PNS decoding
Originally committed as revision 19970 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
61dc238b45
commit
0cb7141282
@ -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++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user