mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-10 06:14:01 +00:00
avcodec/wavpack: Fix 280:22: runtime error: left shift of negative value -1
Fixes: 653/clusterfuzz-testcase-5773837415219200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5eb04570f6
commit
58f3469cc6
@ -264,7 +264,7 @@ error:
|
||||
static inline int wv_get_value_integer(WavpackFrameContext *s, uint32_t *crc,
|
||||
int S)
|
||||
{
|
||||
int bit;
|
||||
unsigned bit;
|
||||
|
||||
if (s->extra_bits) {
|
||||
S <<= s->extra_bits;
|
||||
|
Loading…
x
Reference in New Issue
Block a user