avcodec/jpeg2000: Fix runtime error: signed integer overflow: 4185 + 2147483394 canno...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 May 2017 12:00:30 +0000 (14:00 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 May 2017 12:01:12 +0000 (14:01 +0200)
commit781f88bb26534ececc76eaa972f02536ba2f0f55
treefe8725b25bfd20b7d9e1a3afbf00eb63f7b37122
parent9c1812491f7be2730351969f4abd9b99d300d604
avcodec/jpeg2000: Fix runtime error: signed integer overflow: 4185 + 2147483394 cannot be represented in type 'int'

Fixes: 1870/clusterfuzz-testcase-minimized-4686788029317120

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