[FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Apr 1 19:29:03 EEST 2020
Am Mi., 1. Apr. 2020 um 18:01 Uhr schrieb Matthieu Bouron
<matthieu.bouron at gmail.com>:
>
> Fixes probing of JPEG files containing MPF metadata appended at the end
> of the file.
>
> The MPF metadata chunk can contains multiple JPEG images (thumbnails)
> which makes the jpeg_probe fails (return 0) because it finds a SOI
> marker after EOI.
> ---
>
> This patch fixes probing of JPEG files containing MPF metadata [1] appended
> at the end of the file.
>
> Such files can be produced by GoPro camera (which produces JPEG files
> with MPF metadata).
>
> You can find a sample here:
> https://0x5c.me/gopro_jpg_mpf_probe_fail
The sample works fine here with FFmpeg 4.2: Is there a regression?
Carl Eugen
More information about the ffmpeg-devel
mailing list