diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-03-01 16:34:57 -0500 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-03-02 08:26:36 +0100 |
commit | f604eab30a7ec33e6d803a4d320ca9b453bde836 (patch) | |
tree | f978bcda3bc7537a30ad340c74a9b220a7d4b006 /libavcodec | |
parent | 36697be18765e95d2998d722927ebf5481694ce7 (diff) | |
download | ffmpeg-streaming-f604eab30a7ec33e6d803a4d320ca9b453bde836.zip ffmpeg-streaming-f604eab30a7ec33e6d803a4d320ca9b453bde836.tar.gz |
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>
Diffstat (limited to 'libavcodec')
-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 6eb913f..022a4ce 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) { |