Michael Niedermayer 9c026dd94d 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>
2020-01-06 15:03:15 +01:00

19 lines
965 B
Plaintext

ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
5328000 ./tests/data/lavf/graylavf.fits
./tests/data/lavf/graylavf.fits CRC=0xbacf446c
48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
10368000 ./tests/data/lavf/gray16belavf.fits
./tests/data/lavf/gray16belavf.fits CRC=0xce89ed97
be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
15408000 ./tests/data/lavf/gbrplavf.fits
./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
c89a72185cfad363aa9cc42e84fed301 *./tests/data/lavf/gbraplavf.fits
20448000 ./tests/data/lavf/gbraplavf.fits
./tests/data/lavf/gbraplavf.fits CRC=0x032a6409
d539b9e02f5ab8fb85717c8adb60b6cc *./tests/data/lavf/gbrp16belavf.fits
30672000 ./tests/data/lavf/gbrp16belavf.fits
./tests/data/lavf/gbrp16belavf.fits CRC=0x81897ff7
3dc3622fb09a338b406d8a12a30f2545 *./tests/data/lavf/gbrap16belavf.fits
40752000 ./tests/data/lavf/gbrap16belavf.fits
./tests/data/lavf/gbrap16belavf.fits CRC=0x247dd7b9