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 authored Mar 25, 2024
1 parent 975191b commit 919f290
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 @@ -1265,7 +1265,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 equal or greater 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 919f290

Please sign in to comment.