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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-10 04:50:40 +02:00
parent 81471d8246
commit b58a3c8975

View File

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