avcodec/jpeg2000dec: Print the correct variable in the component error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/138/head
Michael Niedermayer 10 years ago
parent 81471d8246
commit b58a3c8975
  1. 2
      libavcodec/jpeg2000dec.c

@ -261,7 +261,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
if (ncomponents > 4) {
avpriv_request_sample(s->avctx, "Support for %d components",
s->ncomponents);
ncomponents);
return AVERROR_PATCHWELCOME;
}

Loading…
Cancel
Save