avcodec/truemotion2rt: Fix rounding in input size check
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Nov 2018 08:24:30 +0000 (09:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 14 Jan 2019 23:57:27 +0000 (00:57 +0100)
commitf3400e731a6663c485064fcf40bfe16fa5c97921
treea9898f8558005b50c0ea3d2017afbd82747063e2
parentdfa3a5ac631832afde852dd62db7833e916ecbdd
avcodec/truemotion2rt: Fix rounding in input size check

Fixes: Timeout
Fixes: 11332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2RT_fuzzer-5678456612847616

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 7f22a4ebc97817fd0968f5ea8295c9a59a6292e0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2rt.c