diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-09-30 15:07:19 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-10-08 13:47:31 +0800 |
commit | aea36b63571e161049280ce2445a1b736702b92a (patch) | |
tree | 0a360b9f1eefb185ee32faeee47f78c49352baa9 /libavcodec/pngdec.c | |
parent | 4aa391388a67fb636e8127924274b00ec380e245 (diff) | |
download | ffmpeg-aea36b63571e161049280ce2445a1b736702b92a.tar.gz |
avcodec/pngdec: add logging context to log
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 2d6c1b218e..d37dabcc4d 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -424,7 +424,7 @@ static int png_decode_idat(PNGDecContext *s, int length) s->zstream.next_out = s->crow_buf; } if (ret == Z_STREAM_END && s->zstream.avail_in > 0) { - av_log(NULL, AV_LOG_WARNING, + av_log(s->avctx, AV_LOG_WARNING, "%d undecompressed bytes left in buffer\n", s->zstream.avail_in); return 0; } |