[FFmpeg-soc] [soc]: r1788 - eac3/ac3dec.c

jbr subversion at mplayerhq.hu
Mon Jan 7 06:06:47 CET 2008


Author: jbr
Date: Mon Jan  7 06:06:47 2008
New Revision: 1788

Log:
fix coupling for E-AC3

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Mon Jan  7 06:06:47 2008
@@ -856,8 +856,12 @@ static int ac3_parse_audio_block(AC3Deco
             }
         } else {
             /* coupling not in use */
-            for (ch = 1; ch <= fbw_channels; ch++)
+            for (ch = 1; ch <= fbw_channels; ch++) {
                 s->channel_in_cpl[ch] = 0;
+                s->first_cpl_coords[ch] = 1;
+            }
+            s->first_cpl_leak = 1;
+            s->phase_flags_in_use = 0;
         }
     } else if (!s->eac3 && blk) {
         /* for AC3, copy coupling use strategy from last block */



More information about the FFmpeg-soc mailing list