diff options
author | Niklas Haas <git@haasn.dev> | 2024-10-07 18:58:29 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-10-09 13:14:57 +0200 |
commit | 9d8f5141cf7da4c72e8e1a08e9a967c0f163a78a (patch) | |
tree | 133ad9b8781dba2dc55d1625535429f6150e30be /libavfilter/vf_maskedclamp.c | |
parent | ea228fc41524caff68a20b6d18a9b1ddcc927928 (diff) | |
download | ffmpeg-9d8f5141cf7da4c72e8e1a08e9a967c0f163a78a.tar.gz |
swscale/rgb2xyz: add explicit width parameter
This fixes an 11-year-old bug in the rgb2xyz functions, when used with a
negative stride. The current loop bounds turned it into a no-op.
Additionally, this increases performance on highly cropped images, whose
stride may be substantially higher than the effective width.
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libavfilter/vf_maskedclamp.c')
0 files changed, 0 insertions, 0 deletions