avcodec/wavpack: Fix integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Jun 2017 23:58:48 +0000 (01:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Jun 2017 01:03:04 +0000 (03:03 +0200)
commit24e95f9d4de012f51fdd5767dff0b3142e13ec3a
tree15f5d6d102e273f90b6ef679f066bb8e0b7a1686
parent0c2ef4f6b4d52a7b7184c747ffea3576926ea1b1
avcodec/wavpack: Fix integer overflow

Fixes: runtime error: signed integer overflow: 227511904 + 1964113935 cannot be represented in type 'int'
Fixes: 2331/clusterfuzz-testcase-minimized-6182185830711296

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