From 790bf9f088f8960b62d189eb44322d078109f272 Mon Sep 17 00:00:00 2001 From: Sergio Ammirata Date: Thu, 4 Oct 2012 15:51:05 -0400 Subject: Add support for Workgroup 4 (WG4) channel mapping This is the channel ordering used in DVD Audio, and is the standard used internally in the VLC media player. --- libAACenc/src/aacenc_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libAACenc/src/aacenc_lib.cpp') diff --git a/libAACenc/src/aacenc_lib.cpp b/libAACenc/src/aacenc_lib.cpp index 6cd1f80..9647094 100644 --- a/libAACenc/src/aacenc_lib.cpp +++ b/libAACenc/src/aacenc_lib.cpp @@ -1657,7 +1657,7 @@ AACENC_ERROR aacEncoder_SetParam( break; case AACENC_CHANNELORDER: if (hAacEncoder->aacConfig.channelOrder != (CHANNEL_ORDER)value) { - if (! ((value==0) || (value==1)) ) { + if (! ((value==0) || (value==1) || (value==2)) ) { err = AACENC_INVALID_CONFIG; break; } -- cgit v1.2.3