diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-01-29 17:46:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-30 03:41:48 +0100 |
commit | 9ef5a9deaf0f4f44a19efa5bd75df74873096063 (patch) | |
tree | c24d5f9102f0b194554be80892b7e8838ed98ba8 /libavcodec/pngdec.c | |
parent | 4592c85fc888ed32df2486c04914286f403c3a80 (diff) | |
download | ffmpeg-streaming-9ef5a9deaf0f4f44a19efa5bd75df74873096063.zip ffmpeg-streaming-9ef5a9deaf0f4f44a19efa5bd75df74873096063.tar.gz |
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 03cd784..4bc5c37 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -431,7 +431,7 @@ static int decode_frame(AVCodecContext *avctx, goto fail; tag32 = bytestream_get_be32(&s->bytestream); tag = av_bswap32(tag32); - dprintf(avctx, "png: tag=%c%c%c%c length=%u\n", + av_dlog(avctx, "png: tag=%c%c%c%c length=%u\n", (tag & 0xff), ((tag >> 8) & 0xff), ((tag >> 16) & 0xff), @@ -453,7 +453,7 @@ static int decode_frame(AVCodecContext *avctx, s->interlace_type = *s->bytestream++; crc = bytestream_get_be32(&s->bytestream); s->state |= PNG_IHDR; - dprintf(avctx, "width=%d height=%d depth=%d color_type=%d compression_type=%d filter_type=%d interlace_type=%d\n", + av_dlog(avctx, "width=%d height=%d depth=%d color_type=%d compression_type=%d filter_type=%d interlace_type=%d\n", s->width, s->height, s->bit_depth, s->color_type, s->compression_type, s->filter_type, s->interlace_type); break; @@ -517,7 +517,7 @@ static int decode_frame(AVCodecContext *avctx, s->width); s->crow_size = s->pass_row_size + 1; } - dprintf(avctx, "row_size=%d crow_size =%d\n", + av_dlog(avctx, "row_size=%d crow_size =%d\n", s->row_size, s->crow_size); s->image_buf = p->data[0]; s->image_linesize = p->linesize[0]; |