[FFmpeg-cvslog] avcodec/jpeg2000dec: Drop unneeded rlevel variable
Michael Niedermayer
git at videolan.org
Wed Jun 17 20:50:56 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 17 15:48:12 2015 +0200| [2687a51a3fcffd28fcc88b7f67e4773eae259825] | committer: Michael Niedermayer
avcodec/jpeg2000dec: Drop unneeded rlevel variable
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2687a51a3fcffd28fcc88b7f67e4773eae259825
---
libavcodec/jpeg2000dec.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 8eba2a3..3553542 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;
}
- }
}
}
}
More information about the ffmpeg-cvslog
mailing list