Mercurial > libavcodec.hg
changeset 10227:bfef610ab83c libavcodec
AAC: 10l: fix PNS decoding
author | mru |
---|---|
date | Tue, 22 Sep 2009 19:31:01 +0000 |
parents | 2ab0e95bc837 |
children | b783894a1c62 |
files | aac.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/aac.c Tue Sep 22 17:28:03 2009 +0000 +++ b/aac.c Tue Sep 22 19:31:01 2009 +0000 @@ -861,7 +861,7 @@ for (group = 0; group < ics->group_len[g]; group++) { float scale; float band_energy = 0; - float *cf = coef + group * 128; + float *cf = coef + group * 128 + offsets[i]; int len = offsets[i+1] - offsets[i]; for (k = offsets[i]; k < offsets[i + 1]; k++) {