[FFmpeg-cvslog] r19970 - trunk/libavcodec/aac.c

mru subversion
Tue Sep 22 21:31:01 CEST 2009


Author: mru
Date: Tue Sep 22 21:31:01 2009
New Revision: 19970

Log:
AAC: 10l: fix PNS decoding

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Tue Sep 22 19:28:03 2009	(r19969)
+++ trunk/libavcodec/aac.c	Tue Sep 22 21:31:01 2009	(r19970)
@@ -861,7 +861,7 @@ static int decode_spectrum_and_dequant(A
                 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++) {



More information about the ffmpeg-cvslog mailing list