summaryrefslogtreecommitdiffstats
path: root/libhb/deca52.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/deca52.c')
-rw-r--r--libhb/deca52.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c
index 9ad603861..66e936dd2 100644
--- a/libhb/deca52.c
+++ b/libhb/deca52.c
@@ -139,10 +139,10 @@ static int deca52Init(hb_work_object_t *w, hb_job_t *job)
pv->dynamic_range_compression =
audio->config.out.dynamic_range_compression;
- int mode;
- uint64_t layout = hb_ff_mixdown_xlat(audio->config.out.mixdown, &mode);
- pv->resample = hb_audio_resample_init(AV_SAMPLE_FMT_FLT, layout, mode,
- audio->config.out.normalize_mix_level);
+ pv->resample =
+ hb_audio_resample_init(AV_SAMPLE_FMT_FLT,
+ audio->config.out.mixdown, 1,
+ audio->config.out.normalize_mix_level);
if (pv->resample == NULL)
{
hb_error("deca52Init: hb_audio_resample_init() failed");