avcodec/wavpack: Fix runtime error: signed integer overflow: 1886191616 + 277872640...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Jun 2017 18:19:59 +0000 (20:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Jun 2017 17:48:31 +0000 (19:48 +0200)
commit0dfda74afc8da0cdaa134f0a48b43698714948f0
treed5dc24ecd40ebe09a8b7bcfa7e5c08d2f9d6b338
parentd182bb21add5466df01dedb274a708d90802cd19
avcodec/wavpack: Fix runtime error: signed integer overflow: 1886191616 + 277872640 cannot be represented in type 'int'

Fixes: 2181/clusterfuzz-testcase-minimized-6314784322486272

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