avcodec/tta: Fix integer overflow in prediction
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Aug 2019 18:56:44 +0000 (20:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 13:57:54 +0000 (15:57 +0200)
commit7e9aecc9f358901426c134978e764ee7beac4944
treee069aab26ab060c3413c7549404674ca52987c1d
parentdea2591d4fbc989ca82bc8a8ad7d16aacdc89af1
avcodec/tta: Fix integer overflow in prediction

Fixes: signed integer overflow: -395281576 + -1827578048 cannot be represented in type 'int'
Fixes: 16038/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TTA_fuzzer-5646109705240576

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tta.c