avcodec/dirac_dwt: Fix multiple overflows in 9/7 lifting
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Sep 2017 17:56:11 +0000 (19:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit812e06cc829674537bab7a89f664dda70edaf188
treeb5888f0e081c59f9149d325e51e7ed0267064a60
parenta1433196b8d5954136cfbae1438bce601b3c0178
avcodec/dirac_dwt: Fix multiple overflows in 9/7 lifting

Fixes: runtime error: signed integer overflow: 1073901567 + 1073901567 cannot be represented in type 'int'
Fixes: 3124/clusterfuzz-testcase-minimized-454643435752652

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 f71cd44147e7a914f80fcfacca46c9e7b0374362)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h