aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/arm/float_dsp_init_vfp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-21 21:49:32 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-25 02:19:18 +0100
commitf705b8b5b4fb9390e2d1aeb9e864c099c8592d9d (patch)
tree428a8c64bdb7aa226cab3223d4f5e75a0c791f4d /libavutil/arm/float_dsp_init_vfp.c
parent484e7716bc9c79ead7b345e38197d414d5cdccc8 (diff)
downloadffmpeg-f705b8b5b4fb9390e2d1aeb9e864c099c8592d9d.tar.gz
avutil/opt: Use correct function pointer type
av_get_sample/pix_fmt() return their respective enums and are therefore not of the type int (*)(const char*), yet they are called as-if they were of this type. This works in practice, but is actually undefined behaviour. With Clang 17 UBSan these violations are flagged, affecting lots of tests. The number of failing tests went down from 3363 to 164 here with this patch. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/arm/float_dsp_init_vfp.c')
0 files changed, 0 insertions, 0 deletions