Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes: > Improves probing, especially over http when there is a > Content-Type header
(Do you have an example where the probing fails?) The idea of these additional demuxers is that they probe the content instead of relying on the file suffix. File suffix provides a score of _EXTENSION (50), so if probing is possible and uses more than 16 bit, _EXTENSION + 1 is returned to allow a better detection. AV_SCORE_MIME is 75, so iiuc this patch would just disable autodetection (except for png, dds and webp which compare 64 bit and return _MAX) in favour of the mimetype. Or am I reading the code incorrectly and mimetype doesn't lead to a score of 75? Why aren't the mimetypes added to the (original) image2 demuxer if they are really needed? Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel