[FFmpeg-devel] [RFC] fix UB in fate-checkasm-sw_yuv2rgb

Rémi Denis-Courmont remi at remlab.net
Wed Jul 3 23:33:47 EEST 2024


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.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the ffmpeg-devel mailing list