mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
wavpack: Fix an integer overflow
Integer Overflow Checker detected an integer overflow while FATE was running. See: http://fate.libav.org/x86_64-linux-ioc/ Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
parent
36697be187
commit
f604eab30a
@ -428,7 +428,7 @@ static float wv_get_value_float(WavpackFrameContext *s, uint32_t *crc, int S)
|
||||
uint32_t u;
|
||||
} value;
|
||||
|
||||
int sign;
|
||||
unsigned int sign;
|
||||
int exp = s->float_max_exp;
|
||||
|
||||
if (s->got_extra_bits) {
|
||||
|
Loading…
Reference in New Issue
Block a user