aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_extractplanes.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-10-07 18:58:29 +0200
committerNiklas Haas <git@haasn.dev>2024-10-09 13:14:57 +0200
commit9d8f5141cf7da4c72e8e1a08e9a967c0f163a78a (patch)
tree133ad9b8781dba2dc55d1625535429f6150e30be /libavfilter/vf_extractplanes.c
parentea228fc41524caff68a20b6d18a9b1ddcc927928 (diff)
downloadffmpeg-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_extractplanes.c')
0 files changed, 0 insertions, 0 deletions