Skip to content

Commit

Permalink
Signature for WebM will always return false
Browse files Browse the repository at this point in the history
Correct inverted test logic to determine if we've reached the end of the EBML element.

(fixes #185)
  • Loading branch information
jyavenard committed Mar 19, 2024
1 parent fe4647d commit 52aef0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mimesniff.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ algorithm</dfn>:
<li> Let <var>number size</var> be the result
of <a href=#parse-a-vint>parsing a <code>vint</code></a> starting at <var>sequence</var>[<var>iter</var>].
<li> Increment <var>iter</var> by <var>number size</var>.
<li> If <var>iter</var> is less than <var>length</var> - 4, abort these
<li> If <var>iter</var> is greater or equal than <var>length</var> - 4, abort these
steps.
<li> Let <var>matched</var> be the result of <a href=#matching-a-padded-sequence>matching a padded
sequence</a> 0x77 0x65 0x62 0x6D
Expand Down

0 comments on commit 52aef0b

Please sign in to comment.