| 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 8ec925cd0a67328386dc148cbe6dd67958cbe4dd..7ad3ccc38649a726fcbf1133507241fb809a73c3 100644
|
| --- a/media/formats/mp4/mp4_stream_parser.cc
|
| +++ b/media/formats/mp4/mp4_stream_parser.cc
|
| @@ -383,8 +383,7 @@ bool MP4StreamParser::PrepareAVCBuffer(
|
| RCHECK(AVC::InsertParamSetsAnnexB(avc_config, frame_buf, subsamples));
|
| }
|
|
|
| - // TODO(acolwell): Improve IsValidAnnexB() so it can handle encrypted content.
|
| - DCHECK(runs_->is_encrypted() || AVC::IsValidAnnexB(*frame_buf));
|
| + DCHECK(AVC::IsValidAnnexB(*frame_buf, *subsamples));
|
| return true;
|
| }
|
|
|
|
|