changeset 4230:1b447031a8b8 libavcodec

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:36 PM subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level
author gpoirier
date Thu, 23 Nov 2006 22:21:01 +0000
parents 304255e80196
children c769e4b0c75e
files ac3enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3enc.c	Wed Nov 22 13:53:22 2006 +0000
+++ b/ac3enc.c	Thu Nov 23 22:21:01 2006 +0000
@@ -1379,7 +1379,7 @@
             v = 14 - log2_tab(input_samples, N);
             if (v < 0)
                 v = 0;
-            exp_samples[i][ch] = v - 9;
+            exp_samples[i][ch] = v - 10;
             lshift_tab(input_samples, N, v);
 
             /* do the MDCT */