diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-11 23:30:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-11 23:39:09 +0200 |
commit | 88ceede1fd7835080da11c4e9a74af69bdfc5412 (patch) | |
tree | 89339cda8b5889479138e852b88a75c971362ea0 /libavcodec/jpeglsdec.c | |
parent | 662a8d882758ac90cf55968fc7ab3540e51f2d0b (diff) | |
download | ffmpeg-88ceede1fd7835080da11c4e9a74af69bdfc5412.tar.gz |
avcodec/jpegls: print coding parameters stored in LSE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jpeglsdec.c')
-rw-r--r-- | libavcodec/jpeglsdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c index d8e2bdbac0..add7200fc1 100644 --- a/libavcodec/jpeglsdec.c +++ b/libavcodec/jpeglsdec.c @@ -66,6 +66,11 @@ int ff_jpegls_decode_lse(MJpegDecodeContext *s) s->t3 = get_bits(&s->gb, 16); s->reset = get_bits(&s->gb, 16); + if(s->avctx->debug & FF_DEBUG_PICT_INFO) { + av_log(s->avctx, AV_LOG_DEBUG, "Coding parameters maxval:%d T1:%d T2:%d T3:%d reset:%d\n", + s->maxval, s->t1, s->t2, s->t3, s->reset); + } + // ff_jpegls_reset_coding_parameters(s, 0); //FIXME quant table? break; |