summaryrefslogtreecommitdiffstats
path: root/libhb/encfaac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encfaac.c')
-rw-r--r--libhb/encfaac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encfaac.c b/libhb/encfaac.c
index 3cbe48f24..84e1fcbaf 100644
--- a/libhb/encfaac.c
+++ b/libhb/encfaac.c
@@ -74,7 +74,7 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job )
}
cfg->useTns = 0;
- cfg->bitRate = job->abitrate * 500; /* Per channel */
+ cfg->bitRate = job->abitrate * 1000 / w->config->aac.channelsused; /* Per channel */
cfg->bandWidth = 0;
cfg->outputFormat = 0;
cfg->inputFormat = FAAC_INPUT_FLOAT;