Mercurial > mplayer.hg
comparison libmpdemux/muxer_lavf.c @ 20740:a2a3094c5c09
fprintf -> mp_msg
author | michael |
---|---|
date | Tue, 07 Nov 2006 19:05:38 +0000 |
parents | d4d72e5eea07 |
children | 1767c271d710 |
comparison
equal
deleted
inserted
replaced
20739:6e206b0ed9e3 | 20740:a2a3094c5c09 |
---|---|
81 } | 81 } |
82 | 82 |
83 | 83 |
84 static int mp_read(URLContext *h, unsigned char *buf, int size) | 84 static int mp_read(URLContext *h, unsigned char *buf, int size) |
85 { | 85 { |
86 fprintf(stderr, "READ %d\n", size); | 86 mp_msg(MSGT_MUXER, MSGL_WARN, "READ %d\n", size); |
87 return -1; | 87 return -1; |
88 } | 88 } |
89 | 89 |
90 static int mp_write(URLContext *h, unsigned char *buf, int size) | 90 static int mp_write(URLContext *h, unsigned char *buf, int size) |
91 { | 91 { |
94 } | 94 } |
95 | 95 |
96 static offset_t mp_seek(URLContext *h, offset_t pos, int whence) | 96 static offset_t mp_seek(URLContext *h, offset_t pos, int whence) |
97 { | 97 { |
98 muxer_t *muxer = (muxer_t*)h->priv_data; | 98 muxer_t *muxer = (muxer_t*)h->priv_data; |
99 fprintf(stderr, "SEEK %"PRIu64"\n", (int64_t)pos); | 99 mp_msg(MSGT_MUXER, MSGL_DBG2, "SEEK %"PRIu64"\n", (int64_t)pos); |
100 return fseeko(muxer->file, pos, whence); | 100 return fseeko(muxer->file, pos, whence); |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 static URLProtocol mp_protocol = { | 104 static URLProtocol mp_protocol = { |