mpv/sub
wm4 a09c7691d7 draw_bmp: silence another ridiculous ubsan warning
UB sanitizer complains that aval<<24 (if >=128) cannot be represented as
int. Indeed, we would shift a bit into the sign of an int, which is
probably UB or implementation defined (I can't even remember, but the
stupidity of it burns). So technically, ubsan might be right.

Change aval to uint32_t, which I don't think has a chance of getting
promoted to int. Change the other *val to uint32_t too for cosmetic
symmetry.

So we have to obscure the intention of the code (*val can take only 8
bits) out of language stupidity. How nice. (What a shitty language.)
2020-04-18 00:16:52 +02:00
..
ass_mp.c
ass_mp.h
dec_sub.c
dec_sub.h
draw_bmp.c draw_bmp: silence another ridiculous ubsan warning 2020-04-18 00:16:52 +02:00
draw_bmp.h
filter_regex.c
filter_sdh.c
img_convert.c
img_convert.h
lavc_conv.c
osd.c stats: some more performance graphs 2020-04-09 00:33:38 +02:00
osd.h
osd_font.otf
osd_libass.c
osd_state.h stats: some more performance graphs 2020-04-09 00:33:38 +02:00
sd.h
sd_ass.c
sd_lavc.c sd_lavc: mitigate evil rounding issue that could lead to off-by-1 frames 2020-04-18 00:10:34 +02:00