[FFmpeg-devel] [RFC] fix UB in fate-checkasm-sw_yuv2rgb
Sean McGovern
gseanmcg at gmail.com
Thu Jul 4 00:32:43 EEST 2024
Hi Rémi,
On Wed, Jul 3, 2024 at 4:34 PM Rémi Denis-Courmont <remi at remlab.net> wrote:
>
> Le keskiviikkona 3. heinäkuuta 2024, 22.07.42 EEST Sean McGovern a écrit :
> > Hi,
> >
> > Attached is an RFC patch to address the undefined behaviour from the
> > new `fate-checkasm-sw_yuv2rgb` test seen on both the x86 and ppc UBSan
> > FATE nodes.
> >
> > -- Sean McGovern
>
> __typeof__ is a GCCism. C23 has typeof() which is pretty much the same with a
> more legible name. But neither are OK at this point in FFmpeg anyhow.
OK, fair enough. Should I just cast them to int32_t instead?
>
> --
> レミ・デニ-クールモン
> http://www.remlab.net/
>
>
>
> _______________________________________________
> 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