changeset 12333:97219f0fa018 libavcodec

dca: fix dynrange coefficient in xch Patch by Nick Brereton
author banan
date Sat, 31 Jul 2010 22:15:59 +0000
parents eeb078c8830a
children 435319d67bd8
files dca.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dca.c	Sat Jul 31 21:14:03 2010 +0000
+++ b/dca.c	Sat Jul 31 22:15:59 2010 +0000
@@ -691,7 +691,7 @@
     }
 
     /* Dynamic range coefficient */
-    if (s->dynrange)
+    if (!base_channel && s->dynrange)
         s->dynrange_coef = get_bits(&s->gb, 8);
 
     /* Side information CRC check word */