avcodec/wavpack: Fix invalid shift
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Jun 2017 11:47:32 +0000 (13:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jul 2017 00:50:33 +0000 (02:50 +0200)
commita954b531f63bef13c26a574ecbd7a4c099f56693
tree5f3a580ea183997fd2e49baf4ceeff2a0cf48f26
parentaaecd2ef68d9cdfed70b168aade4a0782ae2551f
avcodec/wavpack: Fix invalid shift

Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Fixes: 2377/clusterfuzz-testcase-minimized-6108505935183872

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