diff options
Diffstat (limited to 'libhb/declpcm.c')
-rw-r--r-- | libhb/declpcm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/declpcm.c b/libhb/declpcm.c index 85a47c313..0cb5726a5 100644 --- a/libhb/declpcm.c +++ b/libhb/declpcm.c @@ -162,10 +162,10 @@ static int declpcmInit( hb_work_object_t * w, hb_job_t * job ) w->private_data = pv; pv->job = job; - 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("declpcmInit: hb_audio_resample_init() failed"); |