[FFmpeg-devel] [PATCH] lavc/dovi_rpu: Fix UB for possible left shift of negative values

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Jun 16 12:44:11 EEST 2022


Thilo Borgmann:
> Hi,
> 
> avoid left-shifting possibly negative values in case of RPU_COEFF_FLOAT.
> Changed RPU_COEFF_FIXED as well for consistency.
> 

This is wrong: Both of your changes only affect RPU_COEFF_FIXED.

- Andreas


More information about the ffmpeg-devel mailing list