From 3844572887e613d0292d7545c4f2a33e3e207882 Mon Sep 17 00:00:00 2001 From: Tim Walker Date: Wed, 12 Sep 2012 17:09:32 +0200 Subject: [PATCH] mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel. Signed-off-by: Justin Ruggles --- libavcodec/mlp_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 016252cfb6..4c1cf9bd65 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -83,10 +83,10 @@ static const uint64_t thd_layout[13] = { AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT, // LRrs AV_CH_BACK_CENTER, // Cs AV_CH_TOP_CENTER, // Ts - AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT, // LRsd + AV_CH_SURROUND_DIRECT_LEFT|AV_CH_SURROUND_DIRECT_RIGHT, // LRsd AV_CH_WIDE_LEFT|AV_CH_WIDE_RIGHT, // LRw AV_CH_TOP_FRONT_CENTER, // Cvh - AV_CH_LOW_FREQUENCY // LFE2 + AV_CH_LOW_FREQUENCY_2, // LFE2 }; static int mlp_samplerate(int in)