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/gifdec.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/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index 5a5e562..7be284c 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -77,7 +77,7 @@ static int gif_read_image(GifState *s) has_local_palette = flags & 0x80; bits_per_pixel = (flags & 0x07) + 1; - dprintf(s->avctx, "gif: image x=%d y=%d w=%d h=%d\n", left, top, width, height); + av_dlog(s->avctx, "gif: image x=%d y=%d w=%d h=%d\n", left, top, width, height); if (has_local_palette) { bytestream_get_buffer(&s->bytestream, s->local_palette, 3 * (1 << bits_per_pixel)); @@ -163,7 +163,7 @@ static int gif_read_extension(GifState *s) ext_code = bytestream_get_byte(&s->bytestream); ext_len = bytestream_get_byte(&s->bytestream); - dprintf(s->avctx, "gif: ext_code=0x%x len=%d\n", ext_code, ext_len); + av_dlog(s->avctx, "gif: ext_code=0x%x len=%d\n", ext_code, ext_len); switch(ext_code) { case 0xf9: @@ -179,7 +179,7 @@ static int gif_read_extension(GifState *s) s->transparent_color_index = -1; s->gce_disposal = (gce_flags >> 2) & 0x7; - dprintf(s->avctx, "gif: gce_flags=%x delay=%d tcolor=%d disposal=%d\n", + av_dlog(s->avctx, "gif: gce_flags=%x delay=%d tcolor=%d disposal=%d\n", gce_flags, s->gce_delay, s->transparent_color_index, s->gce_disposal); @@ -194,7 +194,7 @@ static int gif_read_extension(GifState *s) bytestream_get_byte(&s->bytestream); ext_len = bytestream_get_byte(&s->bytestream); - dprintf(s->avctx, "gif: ext_len1=%d\n", ext_len); + av_dlog(s->avctx, "gif: ext_len1=%d\n", ext_len); } return 0; } @@ -231,7 +231,7 @@ static int gif_read_header1(GifState *s) s->background_color_index = bytestream_get_byte(&s->bytestream); bytestream_get_byte(&s->bytestream); /* ignored */ - dprintf(s->avctx, "gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d\n", + av_dlog(s->avctx, "gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d\n", s->screen_width, s->screen_height, s->bits_per_pixel, has_global_palette); @@ -249,7 +249,7 @@ static int gif_parse_next_image(GifState *s) while (s->bytestream < s->bytestream_end) { int code = bytestream_get_byte(&s->bytestream); - dprintf(s->avctx, "gif: code=%02x '%c'\n", code, code); + av_dlog(s->avctx, "gif: code=%02x '%c'\n", code, code); switch (code) { case ',': |