summaryrefslogtreecommitdiff
path: root/libavcodec/escape124.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/escape124.c')
-rw-r--r--libavcodec/escape124.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c
index 94c2a961e6..9332c8d080 100644
--- a/libavcodec/escape124.c
+++ b/libavcodec/escape124.c
@@ -88,7 +88,7 @@ static CodeBook unpack_codebook(GetBitContext* gb, unsigned depth,
unsigned i, j;
CodeBook cb = { 0 };
- if (size >= INT_MAX / 34 || get_bits_left(gb) < size * 34)
+ if (size >= INT_MAX / 34 || get_bits_left(gb) < (int)size * 34)
return cb;
if (size >= INT_MAX / sizeof(MacroBlock))