[FFmpeg-cvslog] avcodec/jpeg2000dec: Fix copy and paste error

Michael Niedermayer git at videolan.org
Fri Jun 2 03:07:38 EEST 2017


ffmpeg | branch: release/3.3 | Michael Niedermayer <michael at niedermayer.cc> | Thu May 25 11:11:33 2017 +0200| [80cebb992c2dcdb7d5d035e757116e2da7cc3ee7] | committer: Michael Niedermayer

avcodec/jpeg2000dec: Fix copy and paste error

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 5782e0ba8cc30bb08a806cdeda1adfb89a0556b4)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index b320c41c3a..fca7740b5d 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -301,8 +301,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
     if (s->tile_offset_x < 0 || s->tile_offset_y < 0 ||
         s->image_offset_x < s->tile_offset_x ||
         s->image_offset_y < s->tile_offset_y) {
-        av_log(s->avctx, AV_LOG_ERROR, "Tile offsets are invalid\n",
-               s->ncomponents);
+        av_log(s->avctx, AV_LOG_ERROR, "Tile offsets are invalid\n");
         return AVERROR_INVALIDDATA;
     }
 



More information about the ffmpeg-cvslog mailing list