DescriptionFix AnnexB validation logic to work with encrypted content.
AVC::IsValidAnnexB() would fail if encrypted sections happened to
contain something that looked like an Annex B start code. This change
updates the H264Parser so that it will skip byte sequences that look
like start codes in the encrypted sections of the buffer.
BUG=372617
TEST=AVCConversionTests updated to include fake start codes in the
encrypted sections.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286373
Patch Set 1 #
Total comments: 14
Patch Set 2 : Address CR comments. #Patch Set 3 : Change method name and fix crash #
Total comments: 12
Patch Set 4 : Address CR comments and rebase #
Total comments: 2
Patch Set 5 : Address CR comment #
Messages
Total messages: 15 (0 generated)
|