Commit f604eab3 authored by Derek Buitenhuis's avatar Derek Buitenhuis Committed by Kostya Shishkov

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: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: 's avatarKostya Shishkov <kostya.shishkov@gmail.com>
parent 36697be1
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment