Browse Source

jpeg2000dec: silence unused variable warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
db33010483
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/jpeg2000dec.c

+ 1
- 1
libavcodec/jpeg2000dec.c View File

@@ -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;


Loading…
Cancel
Save