diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-30 18:30:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-06 15:03:15 +0100 |
commit | 9c026dd94d3fe921b180a917309334e3c43f614f (patch) | |
tree | 941c1af6963309612da7e72cfffa068af7be6318 /tests/ref/fate/fitsdec-blank_bitpix32 | |
parent | 0667c14ad61d9fbfac7c92000278be769420fa9a (diff) | |
download | ffmpeg-9c026dd94d3fe921b180a917309334e3c43f614f.tar.gz |
avcodec/fitsdec: Use lrint()
Fixes: fate-fitsdec-bitpix-64
Possibly Fixes: -nan is outside the range of representable values of type 'unsigned short'
Possibly Fixes: 17769/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5678314672357376
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 37f31f4e509fe4ccc56a64edaa6fa3d95ee20466)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate/fitsdec-blank_bitpix32')
-rw-r--r-- | tests/ref/fate/fitsdec-blank_bitpix32 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/fitsdec-blank_bitpix32 b/tests/ref/fate/fitsdec-blank_bitpix32 index 184fd41c59..330d6710ca 100644 --- a/tests/ref/fate/fitsdec-blank_bitpix32 +++ b/tests/ref/fate/fitsdec-blank_bitpix32 @@ -3,4 +3,4 @@ #codec_id 0: rawvideo #dimensions 0: 256x256 #sar 0: 0/1 -0, 0, 0, 1, 131072, 0x7fb22427 +0, 0, 0, 1, 131072, 0x3ecd0739 |