changeset 20740:a2a3094c5c09

fprintf -> mp_msg
author michael
date Tue, 07 Nov 2006 19:05:38 +0000
parents 6e206b0ed9e3
children b3ef93332896
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Tue Nov 07 18:57:25 2006 +0000
+++ b/libmpdemux/muxer_lavf.c	Tue Nov 07 19:05:38 2006 +0000
@@ -83,7 +83,7 @@
 
 static int mp_read(URLContext *h, unsigned char *buf, int size)
 {
-	fprintf(stderr, "READ %d\n", size);
+	mp_msg(MSGT_MUXER, MSGL_WARN, "READ %d\n", size);
 	return -1;
 }
 
@@ -96,7 +96,7 @@
 static offset_t mp_seek(URLContext *h, offset_t pos, int whence)
 {
 	muxer_t *muxer = (muxer_t*)h->priv_data;
-	fprintf(stderr, "SEEK %"PRIu64"\n", (int64_t)pos);
+	mp_msg(MSGT_MUXER, MSGL_DBG2, "SEEK %"PRIu64"\n", (int64_t)pos);
 	return fseeko(muxer->file, pos, whence);
 }