diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index dbe0783b36..948255ec64 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -319,7 +319,6 @@ static int put_qcd(Jpeg2000EncoderContext *s, int compno) static int put_com(Jpeg2000EncoderContext *s, int compno) { - int i; int size = 4 + strlen(LIBAVCODEC_IDENT); if (s->avctx->flags & CODEC_FLAG_BITEXACT)