From db33010483a024f1343bfb516415fe9ef77e82d9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 19 Jul 2013 17:54:57 +0200 Subject: [PATCH] jpeg2000dec: silence unused variable warning Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 6959a3611f..f94d9a32df 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -1557,7 +1557,7 @@ static int jp2_find_codestream(Jpeg2000DecoderContext *s) atom2_size -= 2; for (; n>0; n--) { int cn = bytestream2_get_be16(&s->g); - int typ = bytestream2_get_be16(&s->g); + int av_unused typ = bytestream2_get_be16(&s->g); int asoc = bytestream2_get_be16(&s->g); if (cn < 4 || asoc < 4) s->cdef[cn] = asoc;