[FFmpeg-cvslog] avcodec/jpeg2000dec: Print the correct variable in the component error message

Michael Niedermayer git at videolan.org
Wed Jun 10 05:04:22 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 10 04:50:40 2015 +0200| [b58a3c897559a247dbd9fa700c97631af500aef0] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b58a3c897559a247dbd9fa700c97631af500aef0
---

 libavcodec/jpeg2000dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 0d61e65..d86aa25 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;
     }
 



More information about the ffmpeg-cvslog mailing list