<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 13, 2014 at 3:54 PM, Francois Cartegnie <span dir="ltr"><<a href="mailto:fcvlcdev@free.fr" target="_blank">fcvlcdev@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 12/05/2014 12:04, <a href="mailto:jpsaman@videolan.org">jpsaman@videolan.org</a> a écrit :<br>
<div class="">> +    const char endxml[] = ">\0";<br>
> +    if (!FindSVGmarker(&position, header, size, endxml))<br>
> +        return false;<br>
> +    if (position <= 15)<br>
> +        return false;<br>
<br>
</div>Can't happen<br>
<div class=""><br>
> +    const char svg[] = "<svg";<br>
<br>
</div>Should match<br>
"<svg " "<svg>" "<svg:"<br>
<span class="HOEnZb"><font color="#888888"><br>
Francois<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I used the same detection conditions that the bash command file (/usr/share/file/magic) uses to indentify a SVG file. <br></div><div class="gmail_extra">Any improvements are welcome.<br>
<br>Kind regards,<br><br></div><div class="gmail_extra">Jean-Paul Saman.<br></div></div>