<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta name="generator" content="pandoc" />
  <title></title>
  <style type="text/css">code{white-space: pre;}</style>
</head>
<body>
<p>Hi Francois,</p>
<p>On 2016-10-25 17:18, Francois Cartegnie wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> Le 25/10/2016 à 06:56, Tristan Matthews a écrit :</code></pre>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> +    /* Probe for XOR'd ID3 tag. */
 +    if( memcmp( peek, "\x6B\x66\x11", 3 ) )
 +        return VLC_EGENERIC;</code></pre>
</blockquote>
<pre><code> Being before any demuxer and packetizer,
 expect high rate of false positives.</code></pre>
</blockquote>
<ul>
<li>Why would this cause a *“high rate of false positives”?</li>
</ul>
<p>It is equivalent to a <em>demuxer</em> probing for the same data, and as far as I could see when I looked up the <em>magic-bytes</em> used, there is no <em>file-format</em> that is publically documented that uses that marker.</p>
<p>I also ran <code>file</code> (the unix command) on a testfile, which came up blank (not being able to identify the format used).</p>
<p>It is also not possible to have an implicitly used (ie. automatically probed) <em>stream-filter</em> after a <em>packetizer</em> and/or <em>demuxer</em>.</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> Francois</code></pre>
</blockquote>
</body>
</html>