aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-10 04:50:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 04:50:40 +0200
commitb58a3c897559a247dbd9fa700c97631af500aef0 (patch)
tree8da5508280faba6d3018d1fb9e2f12c83e5d396a /libavcodec
parent81471d82467647994067203b21c29183ac5f25be (diff)
downloadffmpeg-b58a3c897559a247dbd9fa700c97631af500aef0.tar.gz
avcodec/jpeg2000dec: Print the correct variable in the component error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/jpeg2000dec.c2
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;
}