Index: media/filters/decrypting_demuxer_stream.cc |
diff --git a/media/filters/decrypting_demuxer_stream.cc b/media/filters/decrypting_demuxer_stream.cc |
index 454f8a75c4d44b8ed1eae94633c94ae6d8a10017..712f7ca36f24405440fddce039ffea823c3d4490 100644 |
--- a/media/filters/decrypting_demuxer_stream.cc |
+++ b/media/filters/decrypting_demuxer_stream.cc |
@@ -159,7 +159,7 @@ void DecryptingDemuxerStream::SetDecryptor(Decryptor* decryptor) { |
demuxer_stream_->audio_decoder_config(); |
audio_config_.reset(new AudioDecoderConfig()); |
audio_config_->Initialize(input_audio_config.codec(), |
- input_audio_config.bits_per_channel(), |
+ input_audio_config.sample_format(), |
input_audio_config.channel_layout(), |
input_audio_config.samples_per_second(), |
input_audio_config.extra_data(), |