Re: [FFmpeg-devel] [PATCH] avformat/img2dec: probe JFIF/Exif header

2021-11-27 Thread Michael Niedermayer
On Thu, Nov 25, 2021 at 02:36:46PM -0500, Alex Xu (Hello71) wrote: > Due to reasons, mpv doesn't pass filename when probing. mpv also sets > default probescore threshold to 26. Since the current jpeg_probe > implementation returns 25 until EOI, it means that the whole image needs > to be probed to

[FFmpeg-devel] [PATCH] avformat/img2dec: probe JFIF/Exif header

2021-11-25 Thread Alex Xu (Hello71)
Due to reasons, mpv doesn't pass filename when probing. mpv also sets default probescore threshold to 26. Since the current jpeg_probe implementation returns 25 until EOI, it means that the whole image needs to be probed to succeed. Worse, the whole image is not passed at once; increasingly large