On 16 May 2017 at 12:34, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2017-05-16 13:25 GMT+02:00 Rostislav Pehlivanov <atomnu...@gmail.com>: > > On 16 May 2017 at 11:57, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > > > >> 2017-05-08 6:46 GMT+02:00 Rostislav Pehlivanov <atomnu...@gmail.com>: > >> > 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? > > > image2 doesn't use extensions, it probes. > > The image2 demuxer only "probes" by looking at extensions. > > Carl Eugen > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > I see what you mean now, pushed a patch to use the same way of probing as the rest of img2dec. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel