diff options
author | Rodeo <[email protected]> | 2012-09-29 17:55:37 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-09-29 17:55:37 +0000 |
commit | d03c4e990e40d17a3ec34c203057ddc449627280 (patch) | |
tree | 6595f385304cd53e167018787f8b0d30e8d3ce46 /libhb/sync.c | |
parent | 242d7266e467a9e0a1814d3290f1c9e8d1aa9c5c (diff) |
libhb: fix calculation of sync->gain_factor.
Revision 4976 simplified it, but it was still slightly incorrect.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4993 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 0b24c9dea..cd45b7fdd 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -1030,7 +1030,7 @@ static void InitAudio( hb_job_t * job, hb_sync_common_t * common, int i ) } } - sync->gain_factor = exp2(w->audio->config.out.gain / 6.); + sync->gain_factor = pow(10, w->audio->config.out.gain / 20); hb_list_add( job->list_work, w ); } |