| Index: media/formats/mp4/mp4_stream_parser.cc
|
| diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
|
| index e2fb231d3fa9bc843f1d2a85a042f9129cb038ae..ceefcfa963a0b5840593f13ae52531fde824f6a2 100644
|
| --- a/media/formats/mp4/mp4_stream_parser.cc
|
| +++ b/media/formats/mp4/mp4_stream_parser.cc
|
| @@ -366,7 +366,8 @@ bool MP4StreamParser::PrepareAVCBuffer(
|
| RCHECK(AVC::InsertParamSetsAnnexB(avc_config, frame_buf, subsamples));
|
| }
|
|
|
| - DCHECK(AVC::IsValidAnnexB(*frame_buf));
|
| + // TODO(acolwell): Improve IsValidAnnexB() so it can handle encrypted content.
|
| + DCHECK(runs_->is_encrypted() || AVC::IsValidAnnexB(*frame_buf));
|
| return true;
|
| }
|
|
|
|
|