diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-27 12:50:21 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-27 12:50:21 +0000 |
commit | 018d2ae1725b70474f5761127a10847e5c73fb3f (patch) | |
tree | de5bb09982e736a831bf1fd8bd088aa5fd294aa2 | |
parent | 8d83daa1cf3a9384bae4f5fc8ed5a027f51c3ac4 (diff) |
in process_userdata() move debugging messages from stdout to stderr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24867 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c index 40df6955ca..98b666abf8 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -402,12 +402,12 @@ static void process_userdata(unsigned char* buf,int len){ return; } if(verbose<2) return; - printf( "user_data: len=%3d %02X %02X %02X %02X '", + fprintf(stderr, "user_data: len=%3d %02X %02X %02X %02X '", len, buf[0], buf[1], buf[2], buf[3]); for(i=0;i<len;i++) -// if(buf[i]>=32 && buf[i]<127) putchar(buf[i]); - if(buf[i]&0x60) putchar(buf[i]&0x7F); - printf("'\n"); +// if(buf[i]>=32 && buf[i]<127) fputc(buf[i], stderr); + if(buf[i]&0x60) fputc(buf[i]&0x7F, stderr); + fprintf(stderr, "'\n"); } int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** start,int force_fps){ |