diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-15 16:06:10 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-15 16:06:10 +0000 |
commit | f8b91cfdccba34716599bea2fa44022aa5c3e84e (patch) | |
tree | 504a12fe6a59362d8fddd240e6f03540af2b9226 | |
parent | edf006b12fc2e5a50e26a082ed1ac608baf16883 (diff) |
mp_msg'ized (for i18n ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5087 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/stream.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h index 2d87336df4..c958e03c38 100644 --- a/libmpdemux/stream.h +++ b/libmpdemux/stream.h @@ -1,6 +1,7 @@ #ifndef __STREAM_H #define __STREAM_H +#include "mp_msg.h" #include <inttypes.h> #define STREAM_BUFFER_SIZE 2048 @@ -124,7 +125,7 @@ inline static int stream_read(stream_t *s,char* mem,int total){ if(!cache_stream_fill_buffer(s)) return total-len; // EOF x=s->buf_len-s->buf_pos; } - if(s->buf_pos>s->buf_len) printf("stream_read: WARNING! s->buf_pos>s->buf_len\n"); + if(s->buf_pos>s->buf_len) mp_msg(MSGT_DEMUX, MSGL_WARN, "stream_read: WARNING! s->buf_pos>s->buf_len\n"); if(x>len) x=len; memcpy(mem,&s->buffer[s->buf_pos],x); s->buf_pos+=x; mem+=x; len-=x; @@ -142,7 +143,7 @@ inline static off_t stream_tell(stream_t *s){ inline static int stream_seek(stream_t *s,off_t pos){ -// if(verbose>=3) printf("seek to 0x%qX\n",(long long)pos); + mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%qX\n",(long long)pos); if(pos<s->pos){ off_t x=pos-(s->pos-s->buf_len); |