Index: media/webm/webm_stream_parser.cc |
diff --git a/media/webm/webm_stream_parser.cc b/media/webm/webm_stream_parser.cc |
index 770fee909354fa5d446eed91ae2efadf17ad1384..bfa44ae7eb60a181a06f74a440d11ac8d5de363e 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 { |