]> git.sesse.net Git - ffmpeg/commit
avcodec/simple_idct_template: Fix several integer overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Mar 2017 01:25:42 +0000 (02:25 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Mar 2017 00:04:35 +0000 (01:04 +0100)
commit45198477de19ccb00729b7eec07d81494f0353e0
treeff7b2f5302f0163b6e2fdba5c44b611d8e3b64af
parentb409d8d4a276490cd67255fd4230ea0954bd8c50
avcodec/simple_idct_template: Fix several integer overflows

Benchmarks with START_TIMER indicate that the code is faster with unsigned, (that is
with the patch), there was quite some fluctuation in the numbers so this may be just
random

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