diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-03-01 16:36:08 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-02 02:40:24 +0100 |
commit | 83c418e68ee55c55bf9f1185d5cb648fc91aed0b (patch) | |
tree | cf1a8d7f45bb06c6980d4626f2ef7a508cee6c4d /libavcodec/wavpack.c | |
parent | d91912effa2aac0cc15c749623c005724c5ec10e (diff) | |
download | ffmpeg-streaming-83c418e68ee55c55bf9f1185d5cb648fc91aed0b.zip ffmpeg-streaming-83c418e68ee55c55bf9f1185d5cb648fc91aed0b.tar.gz |
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>
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r-- | libavcodec/wavpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 09d22be..3ba9961 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -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) { |