avcodec/h264idct_template: fix multiple runtime error: signed integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Mar 2017 01:58:16 +0000 (02:58 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Mar 2017 15:16:05 +0000 (16:16 +0100)
commit2898bc522da6adebda5cbbd9036defe22e3b9bcf
treea35ace6744c75e4f305b3e4241a848d067ce6d9d
parent21bed3c981d17b1b5dcb1eb995075bb9ec850563
avcodec/h264idct_template: fix multiple runtime error: signed integer overflow

Fixes: 857/clusterfuzz-testcase-5319093760557056

Benchmark changes from 335->333 (so if its not a random fluctuation then it would be faster)

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