diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-01 16:45:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-01 16:45:59 +0200 |
commit | c39916bc2f43eed86f9822b7d6802b8a4f2a86c8 (patch) | |
tree | a7393552ae258fb4d74377f72e225a8047298935 | |
parent | 64604e267967b3454d4885e4202ff30d3daa21d9 (diff) | |
download | ffmpeg-c39916bc2f43eed86f9822b7d6802b8a4f2a86c8.tar.gz |
jpeglsdec: move pict debug log under correct if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeglsdec.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c index f89c515195..db230cf8e8 100644 --- a/libavcodec/jpeglsdec.c +++ b/libavcodec/jpeglsdec.c @@ -285,12 +285,14 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor else shift = point_transform + (16 - s->bits); - av_dlog(s->avctx, "JPEG-LS params: %ix%i NEAR=%i MV=%i T(%i,%i,%i) RESET=%i, LIMIT=%i, qbpp=%i, RANGE=%i\n", - s->width, s->height, state->near, state->maxval, - state->T1, state->T2, state->T3, - state->reset, state->limit, state->qbpp, state->range); - av_dlog(s->avctx, "JPEG params: ILV=%i Pt=%i BPP=%i, scan = %i\n", - ilv, point_transform, s->bits, s->cur_scan); + if (s->avctx->debug & FF_DEBUG_PICT_INFO) { + av_log(s->avctx, AV_LOG_DEBUG, "JPEG-LS params: %ix%i NEAR=%i MV=%i T(%i,%i,%i) RESET=%i, LIMIT=%i, qbpp=%i, RANGE=%i\n", + s->width, s->height, state->near, state->maxval, + state->T1, state->T2, state->T3, + state->reset, state->limit, state->qbpp, state->range); + av_log(s->avctx, AV_LOG_DEBUG, "JPEG params: ILV=%i Pt=%i BPP=%i, scan = %i\n", + ilv, point_transform, s->bits, s->cur_scan); + } if(ilv == 0) { /* separate planes */ stride = (s->nb_components > 1) ? 3 : 1; off = av_clip(s->cur_scan - 1, 0, stride); |