Index: media/webm/webm_stream_parser.cc |
diff --git a/media/webm/webm_stream_parser.cc b/media/webm/webm_stream_parser.cc |
index dfa56c3df0cf9a5666338fb3824decb56cc62a82..ae65420d90ee2e9c0f52bfcc5fc3e8da614dee90 100644 |
--- a/media/webm/webm_stream_parser.cc |
+++ b/media/webm/webm_stream_parser.cc |
@@ -352,12 +352,13 @@ int WebMStreamParser::ParseInfoAndTracks(const uint8* data, int size) { |
config_helper.audio_config(); |
audio_config.Initialize(original_audio_config.codec(), |
- original_audio_config.bits_per_channel(), |
+ original_audio_config.sample_format(), |
original_audio_config.channel_layout(), |
original_audio_config.samples_per_second(), |
original_audio_config.extra_data(), |
original_audio_config.extra_data_size(), |
- is_audio_encrypted, false); |
+ is_audio_encrypted, |
+ false); |
FireNeedKey(tracks_parser.audio_encryption_key_id()); |
} else { |