[FFmpeg-devel] [PATCH 2/2] img2dec: Add mime_type to image formats

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Feb 29 12:06:01 CET 2016


Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes:

> On 2/26/2016 3:05 PM, Carl Eugen Hoyos wrote:
> > Or in other words: Except for jpeg, there is no 
> > probe function that returns 0 although the decoder 
> > can decode the image.
> 
> I'll take your word for it on this part.

Please don't: Instead double-check on what I had 
written in my previous mail.

> > So please provide your failing jpeg cases to 
> > improve the probing.
> > I will probably look myself into the issue but I 
> > prefer to have samples to test.

I fixed the remaining issue I saw, I'd be happy to fix 
more remaining test cases.

> Is it perhaps preferable to share a JPEG parser?

Sorry, I don't understand this.

> I think these sorts of failures will continue to pop
> up as long as the JPEG probing is an ad-hoc parser.

I believe that auto-detection works fine now for 
images that comply with the spec but see above.

Carl Eugen



More information about the ffmpeg-devel mailing list