Mercurial > libavformat.hg
changeset 3358:b3f6a5104280 libavformat
use dprintf
author | bcoudurier |
---|---|
date | Mon, 26 May 2008 04:34:29 +0000 |
parents | 5f8a6b9d8f87 |
children | a38b87a72416 |
files | ffmdec.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ffmdec.c Mon May 26 03:57:07 2008 +0000 +++ b/ffmdec.c Mon May 26 04:34:29 2008 +0000 @@ -364,10 +364,8 @@ if (!ffm_is_avail_data(s, FRAME_HEADER_SIZE)) { return AVERROR(EAGAIN); } -#if 0 - printf("pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n", + dprintf(s, "pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n", url_ftell(s->pb), s->pb.pos, ffm->write_index, ffm->file_size); -#endif if (ffm_read_data(s, ffm->header, FRAME_HEADER_SIZE, 1) != FRAME_HEADER_SIZE) return AVERROR(EAGAIN);