[FFmpeg-devel] [PATCH v7] avcodec/jpeg2000: Fix FF_DWT97_INT to pass the conformance testing defined in ISO/IEC 15444-4

WATANABE Osamu owatanab at es.takushoku-u.ac.jp
Mon Nov 11 10:21:49 EET 2024


Thanks.

I found the cause of these UBSAN errors.
I will send a patch to fix those soon.

> On Nov 10, 2024, at 0:54, James Almer <jamrial at gmail.com> wrote:
> 
> On 11/8/2024 2:23 AM, Pierre-Anthony Lemieux wrote:
>> Ok will merge the patch below.
> 
> src/libavcodec/jpeg2000dec.c:1972:117: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
> 
> https://fate.ffmpeg.org/report.cgi?time=20241109021127&slot=x86_64-archlinux-gcc-ubsan
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list