avcodec/wavpack: Fix invalid shift and integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Apr 2017 01:38:12 +0000 (03:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 May 2017 18:32:11 +0000 (20:32 +0200)
commitfc4f88375b8aa99495a3a774611132a77ca2e11b
tree519e7bc62a2452fff6d1ffc047e64c600dccaba7
parentd2657d225c14fcb560199ef0cefe34f76270ad92
avcodec/wavpack: Fix invalid shift and integer overflow

Fixes: 940/clusterfuzz-testcase-5200378381467648

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