Index: media/formats/mpeg/mpeg_audio_stream_parser_base.cc |
diff --git a/media/formats/mpeg/mpeg_audio_stream_parser_base.cc b/media/formats/mpeg/mpeg_audio_stream_parser_base.cc |
index ea2261fad7965e572c61b9acfcf94ac28745431c..244d97b2b9dcab0fd006650b72e4ea4a642113e9 100644 |
--- a/media/formats/mpeg/mpeg_audio_stream_parser_base.cc |
+++ b/media/formats/mpeg/mpeg_audio_stream_parser_base.cc |
@@ -7,6 +7,7 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/message_loop/message_loop.h" |
+#include "media/base/media_util.h" |
#include "media/base/stream_parser_buffer.h" |
#include "media/base/text_track_config.h" |
#include "media/base/timestamp_constants.h" |
@@ -204,14 +205,9 @@ int MPEGAudioStreamParserBase::ParseFrame(const uint8_t* data, |
} |
if (!config_.IsValidConfig()) { |
- config_.Initialize(audio_codec_, |
- kSampleFormatF32, |
- channel_layout, |
- sample_rate, |
- std::vector<uint8_t>(), |
- false, |
- base::TimeDelta(), |
- codec_delay_); |
+ config_.Initialize(audio_codec_, kSampleFormatF32, channel_layout, |
+ sample_rate, std::vector<uint8_t>(), Unencrypted(), |
+ base::TimeDelta(), codec_delay_); |
base::TimeDelta base_timestamp; |
if (timestamp_helper_) |