Index: media/mp4/mp4_stream_parser.cc |
diff --git a/media/mp4/mp4_stream_parser.cc b/media/mp4/mp4_stream_parser.cc |
index ebb20e13b5990a0dcf7e01a660c2a7b2f965d6b6..4d0ce43c3cdcab86227ce7f45941aaf7da9eb27d 100644 |
--- a/media/mp4/mp4_stream_parser.cc |
+++ b/media/mp4/mp4_stream_parser.cc |
@@ -237,7 +237,7 @@ bool MP4StreamParser::ParseMoov(BoxReader* reader) { |
is_audio_track_encrypted_ = entry.sinf.info.track_encryption.is_encrypted; |
DVLOG(1) << "is_audio_track_encrypted_: " << is_audio_track_encrypted_; |
audio_config.Initialize(kCodecAAC, sample_format, |
- aac.channel_layout(), |
+ aac.GetChannelLayout(has_sbr_), |
aac.GetOutputSamplesPerSecond(has_sbr_), |
NULL, 0, is_audio_track_encrypted_, false); |
has_audio_ = true; |