diff options
author | Niklas Haas <git@haasn.dev> | 2023-10-28 15:46:51 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-11-09 12:53:35 +0100 |
commit | 736284e7b98cebadbc5b248f1080950c207bb5a2 (patch) | |
tree | ee55cd20bb7362dfe01837b28336e857b2749de9 /libavcodec | |
parent | d043e5c54c3f8e98be1a4bc1bcb76407af0e8ac7 (diff) | |
download | ffmpeg-736284e7b98cebadbc5b248f1080950c207bb5a2.tar.gz |
swscale/yuv2rgb: fix sws_getCoefficients for colorspace=0
The documentation states that invalid entries default to SWS_CS_DEFAULT.
A value of 0 is not a valid SWS_CS_*, yet the code incorrectly
hard-codes it to BT.709 coefficients instead of SWS_CS_DEFAULT.
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions