changeset 3258:8d42d21e570c libavcodec

AC3 encoding volume fix, by Justin Ruggles jruggle earthlink net.
author banan
date Mon, 10 Apr 2006 12:12:26 +0000
parents 63f61b09dcee
children 6baa0bfee0b8
files ac3enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3enc.c	Mon Apr 10 07:45:29 2006 +0000
+++ b/ac3enc.c	Mon Apr 10 12:12:26 2006 +0000
@@ -1377,7 +1377,7 @@
             v = 14 - log2_tab(input_samples, N);
             if (v < 0)
                 v = 0;
-            exp_samples[i][ch] = v - 8;
+            exp_samples[i][ch] = v - 9;
             lshift_tab(input_samples, N, v);
 
             /* do the MDCT */