diff ac3enc.c @ 4686:3a891d2379ce libavcodec

AC-3 encoded volume is too high. Revert revision 7160: bring AC3 encoder output up to input volume level patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com % + reg tests update gruntwork by me Original thread: date: Nov 21, 2006 11:36PM subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level
author jbr
date Sun, 18 Mar 2007 23:18:05 +0000
parents 056127e5df89
children 0cb02a723a62
line wrap: on
line diff
--- a/ac3enc.c	Sun Mar 18 22:32:39 2007 +0000
+++ b/ac3enc.c	Sun Mar 18 23:18:05 2007 +0000
@@ -1161,7 +1161,7 @@
             v = 14 - log2_tab(input_samples, N);
             if (v < 0)
                 v = 0;
-            exp_samples[i][ch] = v - 10;
+            exp_samples[i][ch] = v - 9;
             lshift_tab(input_samples, N, v);
 
             /* do the MDCT */