mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
wavpack: Fix an integer overflow
Integer Overflow Checker detected an integer overflow while FATE was running. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d91912effa
commit
83c418e68e
@ -428,7 +428,7 @@ static float wv_get_value_float(WavpackFrameContext *s, uint32_t *crc, int S)
|
|||||||
uint32_t u;
|
uint32_t u;
|
||||||
} value;
|
} value;
|
||||||
|
|
||||||
int sign;
|
unsigned int sign;
|
||||||
int exp = s->float_max_exp;
|
int exp = s->float_max_exp;
|
||||||
|
|
||||||
if (s->got_extra_bits) {
|
if (s->got_extra_bits) {
|
||||||
|
Loading…
Reference in New Issue
Block a user