[FFmpeg-devel] [PATCH]lavf/img2dec: Auto-detect svg images

wm4 nfxjfg at googlemail.com
Mon Oct 2 12:43:17 EEST 2017

On Mon, 2 Oct 2017 01:20:15 +0200
Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> Hi!
> Attached patch implements auto-detection of svg images.
> Please review, Carl Eugen

That looks like it'd be extremely fragile and react to anything that is
XML and happens to have the string "svg" and "<!DOCTYPE" on the same
line in the probe buffer. Also nonsensical "b += 9;".

More information about the ffmpeg-devel mailing list