avcodec/wavpack: Check post_shift
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 23 Feb 2017 14:19:29 +0000 (15:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Feb 2017 21:02:23 +0000 (22:02 +0100)
commit5eb04570f6609d7e9706f2ce8b61119605e3a0a2
tree7fcf145348ecb93aff37a9874cfa71977a44a1fc
parentdbc7f02a727286f353624cf690cc6f430e240e25
avcodec/wavpack: Check post_shift

Fixes: runtime error: shift exponent 34 is too large for 32-bit type 'int'

Fixes: 653/clusterfuzz-testcase-5773837415219200

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wavpack.c