Commit 58acdb6e authored by acolwell@chromium.org's avatar acolwell@chromium.org

Disable AnnexB validation for encrypted content.

BUG=372617

Review URL: https://codereview.chromium.org/296983006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272376 0039d316-1c4b-4281-b951-d872f2087c98
parent 25efbcdc
...@@ -366,7 +366,8 @@ bool MP4StreamParser::PrepareAVCBuffer( ...@@ -366,7 +366,8 @@ bool MP4StreamParser::PrepareAVCBuffer(
RCHECK(AVC::InsertParamSetsAnnexB(avc_config, frame_buf, subsamples)); 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; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment