diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 04:50:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 04:50:40 +0200 |
commit | b58a3c897559a247dbd9fa700c97631af500aef0 (patch) | |
tree | 8da5508280faba6d3018d1fb9e2f12c83e5d396a | |
parent | 81471d82467647994067203b21c29183ac5f25be (diff) | |
download | ffmpeg-b58a3c897559a247dbd9fa700c97631af500aef0.tar.gz |
avcodec/jpeg2000dec: Print the correct variable in the component error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 0d61e654e3..d86aa25b4c 100644 --- a/libavcodec/jpeg2000dec.c +++ b/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; } |