changeset 7667:ce3402b964cd libavcodec

fix decoding of coupling leak info for normal AC-3
author jbr
date Sat, 23 Aug 2008 03:30:08 +0000
parents d407738f9a71
children bdb1bdcd4cd0
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3dec.c	Sat Aug 23 02:04:36 2008 +0000
+++ b/ac3dec.c	Sat Aug 23 03:30:08 2008 +0000
@@ -837,7 +837,7 @@
                 s->channel_in_cpl[ch] = 0;
                 s->first_cpl_coords[ch] = 1;
             }
-            s->first_cpl_leak = 1;
+            s->first_cpl_leak = s->eac3;
             s->phase_flags_in_use = 0;
         }
     } else if (!s->eac3) {