diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 22:11:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 22:16:31 +0200 |
commit | 1e6cbb01e9119a731c68be97bec27865b8ba986c (patch) | |
tree | 7a3a6d9c64743ad8188e8658f3b19702573e32ea | |
parent | 0de0ae5a20cf5c78a444449c531683b226810f5c (diff) | |
download | ffmpeg-1e6cbb01e9119a731c68be97bec27865b8ba986c.tar.gz |
j2kdec: make curtilenum integer.
This fixes a potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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; |