git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avcodec/wavpack: Fix runtime error: shift exponent 32 is too large for 32-bit type...
[ffmpeg.git]
/
libavcodec
/
wavpack.c
diff --git
a/libavcodec/wavpack.c
b/libavcodec/wavpack.c
index
943e46a
..
bc94b27
100644
(file)
--- a/
libavcodec/wavpack.c
+++ b/
libavcodec/wavpack.c
@@
-846,7
+846,7
@@
static int wavpack_decode_block(AVCodecContext *avctx, int block_no,
continue;
}
bytestream2_get_buffer(&gb, val, 4);
- if (val[0] > 3
2
) {
+ if (val[0] > 3
1
) {
av_log(avctx, AV_LOG_ERROR,
"Invalid INT32INFO, extra_bits = %d (> 32)\n", val[0]);
continue;