[FFmpeg-soc] [soc]: r1831 - aac/aac.c

andoma subversion at mplayerhq.hu
Sun Jan 13 07:50:02 CET 2008


Author: andoma
Date: Sun Jan 13 07:50:01 2008
New Revision: 1831

Log:
Correctly set previous window shape when using a common window
for channel pairs



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sun Jan 13 07:50:01 2008
@@ -1361,7 +1361,7 @@ static int channel_pair_element(AACConte
     cpe->common_window = get_bits1(gb);
     if (cpe->common_window) {
         ics_info(ac, gb, 1, &cpe->ch[0].ics);
-        i = cpe->ch[1].ics.window_shape_prev;
+        i = cpe->ch[1].ics.window_shape;
         cpe->ch[1].ics = cpe->ch[0].ics;
         cpe->ch[1].ics.window_shape_prev = i;
         cpe->ch[1].ics.ltp = cpe->ch[0].ics.ltp2;



More information about the FFmpeg-soc mailing list