mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/wavpack: Fix runtime error: signed integer overflow: 1886191616 + 277872640 cannot be represented in type 'int'
Fixes: 2181/clusterfuzz-testcase-minimized-6314784322486272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e3887c0a2c
commit
c996374d4d
|
@ -94,7 +94,7 @@ typedef struct Decorr {
|
||||||
typedef struct WvChannel {
|
typedef struct WvChannel {
|
||||||
int median[3];
|
int median[3];
|
||||||
int slow_level, error_limit;
|
int slow_level, error_limit;
|
||||||
int bitrate_acc, bitrate_delta;
|
unsigned bitrate_acc, bitrate_delta;
|
||||||
} WvChannel;
|
} WvChannel;
|
||||||
|
|
||||||
// macros for manipulating median values
|
// macros for manipulating median values
|
||||||
|
|
Loading…
Reference in New Issue