summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 934f7611e..5dc3b75b5 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1454,6 +1454,7 @@ static void decodeAudio(hb_audio_t *audio, hb_work_private_t *pv, uint8_t *data,
{
hb_audio_resample_update(pv->resample, pv->context->sample_fmt,
pv->context->channel_layout,
+ HB_MIXLEV_DEFAULT, HB_MIXLEV_DEFAULT,
pv->context->channels);
out = hb_audio_resample(pv->resample, (void*)frame.data[0],
frame.nb_samples);