Index: media/filters/decrypting_demuxer_stream.cc |
diff --git a/media/filters/decrypting_demuxer_stream.cc b/media/filters/decrypting_demuxer_stream.cc |
index 5720037379ab1c9c8a7cdc2aeb10669f536ff87e..694116811aeaae9f3a79b756bb8c4034601746db 100644 |
--- a/media/filters/decrypting_demuxer_stream.cc |
+++ b/media/filters/decrypting_demuxer_stream.cc |
@@ -327,7 +327,7 @@ void DecryptingDemuxerStream::SetDecoderConfig( |
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(), |