[libav-commits] mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel .

Tim Walker git at libav.org
Thu Sep 13 00:34:38 CEST 2012


Module: libav
Branch: master
Commit: 3844572887e613d0292d7545c4f2a33e3e207882

Author:    Tim Walker <tdskywalker at gmail.com>
Committer: Justin Ruggles <justin.ruggles at gmail.com>
Date:      Wed Sep 12 17:09:32 2012 +0200

mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel.

Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>

---

 libavcodec/mlp_parser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index 016252c..4c1cf9b 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)



More information about the libav-commits mailing list