diff options
Diffstat (limited to 'libhb/deca52.c')
-rw-r--r-- | libhb/deca52.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c index ba7c38485..32da29ce1 100644 --- a/libhb/deca52.c +++ b/libhb/deca52.c @@ -380,7 +380,9 @@ static hb_buffer_t* Decode(hb_work_object_t *w) { pv->channel_layout = new_layout; pv->nchannels = av_get_channel_layout_nb_channels(new_layout); - hb_audio_remap_set_channel_layout(pv->remap, pv->channel_layout); + hb_audio_remap_set_channel_layout(pv->remap, + pv->channel_layout, + pv->nchannels); hb_audio_resample_set_channel_layout(pv->resample, pv->channel_layout, pv->nchannels); |