lavc/jpeg2000dec: silent warning discards qualifiers

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/43/merge
Lukasz Marek 11 years ago committed by Michael Niedermayer
parent 5794e9fce2
commit aeb2905fb7
  1. 2
      libavcodec/jpeg2000dec.c

@ -1213,7 +1213,7 @@ static void mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
static int jpeg2000_decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile, static int jpeg2000_decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile,
AVFrame *picture) AVFrame *picture)
{ {
AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(s->avctx->pix_fmt); const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(s->avctx->pix_fmt);
int compno, reslevelno, bandno; int compno, reslevelno, bandno;
int x, y; int x, y;
int planar = !!(pixdesc->flags & AV_PIX_FMT_FLAG_PLANAR); int planar = !!(pixdesc->flags & AV_PIX_FMT_FLAG_PLANAR);

Loading…
Cancel
Save