# HG changeset patch # User gpoirier # Date 1164320461 0 # Node ID 1b447031a8b82c959c7261475b1b3cef374f8829 # Parent 304255e8019694151accaf7ae05765ec9a9175ca 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 diff -r 304255e80196 -r 1b447031a8b8 ac3enc.c --- 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 */