On 16 May 2017 at 11:57, Carl Eugen Hoyos <[email protected]> wrote:
> 2017-05-08 6:46 GMT+02:00 Rostislav Pehlivanov <[email protected]>: > > Only checks the extension and MIME type, since determining whether > > a file is SVG is difficult since they're just XML files. > > Why didn't you just add svg and svgz to the image2 extensions? > > Carl Eugen > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > image2 doesn't use extensions, it probes. Hence why I couldn't use the macro, since it doesn't actually make lavf check the extension and probing svg is difficult (and librsvg doesn't offer support for probing). _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
