| Index: media/formats/mp2t/es_parser_adts.cc
|
| diff --git a/media/formats/mp2t/es_parser_adts.cc b/media/formats/mp2t/es_parser_adts.cc
|
| index 433baabe5e674017fcbb2b150fcaefb9006d0a37..459ead215776e150c58cd5b35011a7e96308174a 100644
|
| --- a/media/formats/mp2t/es_parser_adts.cc
|
| +++ b/media/formats/mp2t/es_parser_adts.cc
|
| @@ -151,6 +151,10 @@ bool EsParserAdts::Parse(const uint8* buf, int size,
|
| pts_list_.pop_front();
|
| }
|
|
|
| + if (audio_timestamp_helper_->base_timestamp() == kNoTimestamp()) {
|
| + DVLOG(1) << "Audio frame with unknown timestamp";
|
| + return false;
|
| + }
|
| base::TimeDelta current_pts = audio_timestamp_helper_->GetTimestamp();
|
| base::TimeDelta frame_duration =
|
| audio_timestamp_helper_->GetFrameDuration(kSamplesPerAACFrame);
|
|
|