diff options
author | Niklas Haas <git@haasn.dev> | 2025-03-07 19:36:29 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-03-17 11:40:05 +0100 |
commit | 8ab40ca984fa123e5aa8c45ec5d9fdadb1b12cb6 (patch) | |
tree | d46722b6da5f638a30308dca1fe15ac319e66d65 /libavcodec/ffv1_parse.c | |
parent | 9e857e1f8aeeb655adb9d09bf53add26a27092e2 (diff) | |
download | ffmpeg-8ab40ca984fa123e5aa8c45ec5d9fdadb1b12cb6.tar.gz |
swscale: fix gray -> grayf32 SIGFPE
swscale internals don't distinguish between 16-bit and higher bit depth
output formats internally when it comes to the choice of intermediate
representation.
Clamping this value both prevents a SIGFPE and also aligns the check
with reality.
Diffstat (limited to 'libavcodec/ffv1_parse.c')
0 files changed, 0 insertions, 0 deletions