j2kdec: make curtilenum integer.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Oct 2012 20:11:38 +0000 (22:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Oct 2012 20:16:31 +0000 (22:16 +0200)
This fixes a potential crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/j2kdec.c

index c712eb3..4194659 100644 (file)
@@ -69,7 +69,7 @@ typedef struct {
 
     int bit_index;
 
 
     int bit_index;
 
-    int16_t curtileno;
+    int curtileno;
 
     J2kTile *tile;
 } J2kDecoderContext;
 
     J2kTile *tile;
 } J2kDecoderContext;