summaryrefslogtreecommitdiffstats
path: root/libhb/declpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/declpcm.c')
-rw-r--r--libhb/declpcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/declpcm.c b/libhb/declpcm.c
index 0d4e449d1..1511a6abd 100644
--- a/libhb/declpcm.c
+++ b/libhb/declpcm.c
@@ -331,7 +331,8 @@ static hb_buffer_t *Decode( hb_work_object_t *w )
hb_buffer_t *out;
hb_audio_resample_update(pv->resample, AV_SAMPLE_FMT_FLT,
- hdr2layout[pv->nchannels - 1], pv->nchannels);
+ hdr2layout[pv->nchannels - 1], HB_MIXLEV_DEFAULT,
+ HB_MIXLEV_DEFAULT, pv->nchannels);
out = hb_audio_resample(pv->resample, (void*)pv->data, pv->nsamples);
if (out == NULL)
{