diff options
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 4dc1e7388..a5312273d 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -189,11 +189,10 @@ static int decavcodecaInit( hb_work_object_t * w, hb_job_t * job ) /* Downmixing & sample_fmt conversion */ if (!(w->audio->config.out.codec & HB_ACODEC_PASS_FLAG)) { - int mode; - uint64_t layout = hb_ff_mixdown_xlat(w->audio->config.out.mixdown, - &mode); - pv->resample = hb_audio_resample_init(AV_SAMPLE_FMT_FLT, layout, mode, - w->audio->config.out.normalize_mix_level); + pv->resample = + hb_audio_resample_init(AV_SAMPLE_FMT_FLT, + w->audio->config.out.mixdown, 1, + w->audio->config.out.normalize_mix_level); if (pv->resample == NULL) { hb_error("decavcodecaInit: hb_audio_resample_init() failed"); |