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

Denis Charmet typx at dinauz.org
Wed May 14 10:38:18 CEST 2014


Hi,

Le mercredi 14 mai 2014 à 09:31:20, Jean-Paul Saman a écrit :
> I used the same detection conditions that the bash command file
> (/usr/share/file/magic) uses to indentify a SVG file.
> Any improvements are welcome.

How about using the functions of vlc_xml.h? They should be a little more
resilient than manual strstr().

Regards,


-- 
Denis Charmet - TypX
Le mauvais esprit est un art de vivre



More information about the vlc-devel mailing list