avcodec/jpeg2000dec: Remove redundant check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-15 03:11:58 +02:00
parent 5b0f55aab9
commit 9ba5fe7f3d

View File

@ -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;