diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-15 03:11:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-15 03:11:58 +0200 |
commit | 9ba5fe7f3d9fca735850d3ecef8ccb3c25e712b7 (patch) | |
tree | 9fd67de44b19de3bf2407f14cf9fa11d7c46e3d0 /libavcodec/jpeg2000dec.c | |
parent | 5b0f55aab9d5802556e7b3a09c50b77a3220b658 (diff) | |
download | ffmpeg-streaming-9ba5fe7f3d9fca735850d3ecef8ccb3c25e712b7.zip ffmpeg-streaming-9ba5fe7f3d9fca735850d3ecef8ccb3c25e712b7.tar.gz |
avcodec/jpeg2000dec: Remove redundant check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r-- | libavcodec/jpeg2000dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index d00ef10..5ec929d 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -1125,7 +1125,7 @@ static int jpeg2000_decode_packets(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile continue; } - if (reslevelno < codsty->nreslevels) { + { Jpeg2000ResLevel *rlevel = tile->comp[compno].reslevel + reslevelno; ok_reslevel = 1; |