aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-17 15:48:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-17 15:48:12 +0200
commit2687a51a3fcffd28fcc88b7f67e4773eae259825 (patch)
tree7095f5f508c293049e1241beb7b585412643bcf1
parent7c3f7e6ed1856ba17ee903427ca229a14771062b (diff)
downloadffmpeg-2687a51a3fcffd28fcc88b7f67e4773eae259825.tar.gz
avcodec/jpeg2000dec: Drop unneeded rlevel variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/jpeg2000dec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 8eba2a3fdb..35535423da 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -1125,9 +1125,6 @@ static int jpeg2000_decode_packets(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile
continue;
}
- {
- Jpeg2000ResLevel *rlevel = tile->comp[compno].reslevel +
- reslevelno;
ok_reslevel = 1;
for (layno = 0; layno < tile->codsty[0].nlayers; layno++) {
if ((ret = jpeg2000_decode_packet(s, tile, &tp_index,
@@ -1137,7 +1134,6 @@ static int jpeg2000_decode_packets(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile
qntsty->nguardbits)) < 0)
return ret;
}
- }
}
}
}