[FFmpeg-devel] img2dec: jpeg_probe logic

Vadim Kalinsky gebiet at gmail.com
Thu Sep 14 00:43:04 EEST 2017


Can we change mjpeg_probe() then? It has the same problem.

"Everything was valid, and there's more than two frames, but it still has lower score than extension-based guess"

libavformat/rawdec.c:184

if (nb_invalid == 0 && nb_frames > 2)
            return AVPROBE_SCORE_EXTENSION / 2;

Vadim


More information about the ffmpeg-devel mailing list