[FFmpeg-devel] [PATCH] avformat: Fix probing on some JPEGs

Niki Bowe nbowe at google.com
Wed Aug 21 23:58:52 EEST 2019


On Mon, Aug 19, 2019 at 7:22 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

>
> This score would mean that mjpeg can never be detected.
> I suspect you have to reduce one of the demuxers to "- 1".
>
>
Thanks Carl.
Attached patch to reduce mpeg probe by -1, which also fixes the issue.

Alternatively I could bump both jpeg and mjpeg?
mpegps_probe looks like it has some heuristics to come up with its scores,
which may make it brittle.

-- 

Nikolas Bowe |  SWE |  nbowe at google.com |  408-565-5137
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-Fix-probing-on-some-JPEGs.patch
Type: text/x-patch
Size: 1776 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190821/8c5bb39d/attachment.bin>


More information about the ffmpeg-devel mailing list