From 1e6cbb01e9119a731c68be97bec27865b8ba986c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 14 Oct 2012 22:11:38 +0200 Subject: [PATCH] j2kdec: make curtilenum integer. This fixes a potential crash. Signed-off-by: Michael Niedermayer --- libavcodec/j2kdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c index c712eb30e0..4194659983 100644 --- a/libavcodec/j2kdec.c +++ b/libavcodec/j2kdec.c @@ -69,7 +69,7 @@ typedef struct { int bit_index; - int16_t curtileno; + int curtileno; J2kTile *tile; } J2kDecoderContext;