On 13/03/14 12:15, wm4 wrote:
Personally I just use av_probe_input_format2() and accept the result
only if it's at least "AVPROBE_SCORE_MAX / 4 + 1", which is documented
as the recommended limit. I also don't set the filename, so no
extension matching is performed. (Although I do a second pass with
filename set, but only after I run my own image format checks.)
Oh, that works SO nicely.  I had missed that function completely.
Thanks a lot!
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to