[FFmpeg-cvslog] r11438 - trunk/libavcodec/ac3dec.c

jbr subversion
Mon Jan 7 00:33:30 CET 2008


Author: jbr
Date: Mon Jan  7 00:33:30 2008
New Revision: 11438

Log:
make sure that the last coupling band stops at the end of the coupling range

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	(original)
+++ trunk/libavcodec/ac3dec.c	Mon Jan  7 00:33:30 2008
@@ -840,6 +840,7 @@ static int ac3_parse_audio_block(AC3Deco
                     s->num_cpl_bands--;
                 }
             }
+            s->cpl_band_struct[s->num_cpl_subbands-1] = 0;
         } else {
             /* coupling not in use */
             for (ch = 1; ch <= fbw_channels; ch++)




More information about the ffmpeg-cvslog mailing list