[FFmpeg-devel] [PATCH v7 4/5] avformat/image2: add Jpeg XL as image2 format

Leo Izen leo.izen at gmail.com
Wed Mar 23 15:14:56 EET 2022


On 3/23/22 07:38, Anton Khirnov wrote:
> +        return 0;
> +    if (avpriv_jpegxl_verify_codestream_header(NULL, p->buf, 
> p->buf_size) == 0)
> This function is way too complicated for a probe function. Can you think
> of something simpler?
This is necessary to prevent the probetest from returning false 
positives. My original patch lacked something like this and it was 
rejected on those grounds.

Leo Izen (thebombzen)




More information about the ffmpeg-devel mailing list