From a24444cc1b8365592f23fa52ad625952974115c1 Mon Sep 17 00:00:00 2001 From: Zajcev Evgeny Date: Tue, 11 Apr 2017 21:23:32 +0400 Subject: [PATCH] [fix] kAdtsNumChannelsTable: Standard specifies 3 channels (#226) CHANNEL_LAYOUT_SURROUND = Front L + Front R + Front C --- packager/media/formats/mpeg/adts_constants.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/media/formats/mpeg/adts_constants.cc b/packager/media/formats/mpeg/adts_constants.cc index 82d13a66a5..a5c111fb4e 100644 --- a/packager/media/formats/mpeg/adts_constants.cc +++ b/packager/media/formats/mpeg/adts_constants.cc @@ -19,7 +19,7 @@ const size_t kAdtsFrequencyTableSize = arraysize(kAdtsFrequencyTable); // The following conversion table is extracted from ISO 14496 Part 3 - // Table 1.17 - Channel Configuration. const int kAdtsNumChannelsTable[] = { - 0, 1, 2, 2, 4, 5, 6, 8 }; + 0, 1, 2, 3, 4, 5, 6, 8 }; const size_t kAdtsNumChannelsTableSize = arraysize(kAdtsNumChannelsTable); } // namespace media