projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61dc238
)
AAC: 10l: fix PNS decoding
author
Måns Rullgård
<mans@mansr.com>
Tue, 22 Sep 2009 19:31:01 +0000
(19:31 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 22 Sep 2009 19:31:01 +0000
(19:31 +0000)
Originally committed as revision 19970 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.c
patch
|
blob
|
history
diff --git
a/libavcodec/aac.c
b/libavcodec/aac.c
index
d63d99f
..
0b8922f
100644
(file)
--- a/
libavcodec/aac.c
+++ b/
libavcodec/aac.c
@@
-861,7
+861,7
@@
static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024],
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++) {