summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/sync.c2
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 );
}