summaryrefslogtreecommitdiffstats
path: root/libhb/encac3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encac3.c')
-rw-r--r--libhb/encac3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/encac3.c b/libhb/encac3.c
index 693e8b02e..d0c27f419 100644
--- a/libhb/encac3.c
+++ b/libhb/encac3.c
@@ -62,21 +62,21 @@ int encac3Init( hb_work_object_t * w, hb_job_t * job )
context = avcodec_alloc_context();
avcodec_get_context_defaults3(context, codec);
- context->channel_layout = CH_LAYOUT_STEREO;
+ context->channel_layout = AV_CH_LAYOUT_STEREO;
switch( audio->config.out.mixdown )
{
case HB_AMIXDOWN_MONO:
- context->channel_layout = CH_LAYOUT_MONO;
+ context->channel_layout = AV_CH_LAYOUT_MONO;
break;
case HB_AMIXDOWN_STEREO:
case HB_AMIXDOWN_DOLBY:
case HB_AMIXDOWN_DOLBYPLII:
- context->channel_layout = CH_LAYOUT_STEREO;
+ context->channel_layout = AV_CH_LAYOUT_STEREO;
break;
case HB_AMIXDOWN_6CH:
- context->channel_layout = CH_LAYOUT_5POINT0|CH_LOW_FREQUENCY;
+ context->channel_layout = AV_CH_LAYOUT_5POINT1;
break;
default: