diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-25 11:11:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-02 01:14:38 +0200 |
commit | 80cebb992c2dcdb7d5d035e757116e2da7cc3ee7 (patch) | |
tree | 8f3d3f6e9ec7baaa0d87fa87bc73723b5cb4bb16 | |
parent | 38fd2a33b93c658765f7f1e64d594dc7cb6280de (diff) | |
download | ffmpeg-80cebb992c2dcdb7d5d035e757116e2da7cc3ee7.tar.gz |
avcodec/jpeg2000dec: Fix copy and paste error
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5782e0ba8cc30bb08a806cdeda1adfb89a0556b4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 3 |
1 files changed, 1 insertions, 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; } |