diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 00:11:38 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 00:16:31 +0400 |
commit | 1e6cbb01e9119a731c68be97bec27865b8ba986c (patch) | |
tree | 7a3a6d9c64743ad8188e8658f3b19702573e32ea /libavcodec | |
parent | 0de0ae5a20cf5c78a444449c531683b226810f5c (diff) |
j2kdec: make curtilenum integer.
This fixes a potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/j2kdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |