avcodec/jpeg2000dec: Remove redundant check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5b0f55aab9
commit
9ba5fe7f3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user