diff options
-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 92dc25a833..da91aab7cb 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -559,7 +559,7 @@ static int decode_frame(AVCodecContext *avctx, } for (;;) { if (bytestream2_get_bytes_left(&s->gb) <= 0) { - av_log(avctx, AV_LOG_ERROR, "No bytes left\n"); + av_log(avctx, AV_LOG_ERROR, "%d bytes left\n", bytestream2_get_bytes_left(&s->gb)); if ( s->state & PNG_ALLIMAGE && avctx->strict_std_compliance <= FF_COMPLIANCE_NORMAL) goto exit_loop; |