[vlc-devel] [PATCH 07/10] demux/image.c: Detect SVG Scalable Vector Graphics Images

Francois Cartegnie fcvlcdev at free.fr
Tue May 13 15:54:37 CEST 2014


Le 12/05/2014 12:04, jpsaman at videolan.org a écrit :
> +    const char endxml[] = ">\0";
> +    if (!FindSVGmarker(&position, header, size, endxml))
> +        return false;
> +    if (position <= 15)
> +        return false;

Can't happen

> +    const char svg[] = "<svg";

Should match
"<svg " "<svg>" "<svg:"

Francois



More information about the vlc-devel mailing list