mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-22 05:40:27 +08:00
384fe39623introduced a regression in the range conversion offset calculation, resulting in a slight green tint in full-range RGB to YUV conversions of grayscale values. The offset being calculated was not taking into consideration a bias needed for correctly rounding the result from the multiplication stage, leading to a truncated value. Fixes issue #11646. (cherry picked from commit4bee010844)