summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-26 04:34:29 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-26 04:34:29 +0000
commitff978de47c977b7a85ebb040c804f6ca22552966 (patch)
tree89be45fe666eb914cd10b421723b3cfe84ee397e /libavformat
parent376aefddadec365f6663066b4e45d62c4ec21ae9 (diff)
use dprintf
Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/ffmdec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 2b9fbd4ba2..02f4cdeece 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -364,10 +364,8 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
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);