# HG changeset patch # User bcoudurier # Date 1211776469 0 # Node ID b3f6a510428074110edab6cc4c10769a28ae2230 # Parent 5f8a6b9d8f87c651e7ad734016e69403fb948e97 use dprintf diff -r 5f8a6b9d8f87 -r b3f6a5104280 ffmdec.c --- 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);