summaryrefslogtreecommitdiffstats
path: root/libhb/platform/macosx/encca_aac.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-11-21 18:53:23 +0000
committerRodeo <[email protected]>2012-11-21 18:53:23 +0000
commit5ab9b16a3f9635778f1ea07129560adb1be28cc5 (patch)
tree929fe40720d3076d82820b178ae32dd9ab9bf037 /libhb/platform/macosx/encca_aac.c
parent282ddc84776683667e417a62186be57b97be3eab (diff)
hb_audio_remap: protect against invalid channel layouts.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5074 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/platform/macosx/encca_aac.c')
-rw-r--r--libhb/platform/macosx/encca_aac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index fe592e340..98e5ddfaf 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -296,7 +296,7 @@ int encCoreAudioInit(hb_work_object_t *w, hb_job_t *job, enum AAC_MODE mode)
hb_error("encCoreAudioInit: hb_audio_remap_init() failed");
}
uint64_t layout = hb_ff_mixdown_xlat(audio->config.out.mixdown, NULL);
- hb_audio_remap_set_channel_layout(pv->remap, layout);
+ hb_audio_remap_set_channel_layout(pv->remap, layout, pv->nchannels);
// get maximum output size
AudioConverterGetProperty(pv->converter,