From bc874daea8273e2471f5a6f914cdc9cf97371a1c Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Wed, 3 Mar 2004 15:41:21 +0000 Subject: av_log() patch by (Michel Bardiaux ) Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/psxstr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavformat/psxstr.c') diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index f0159c6339..9b5140787e 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -123,11 +123,11 @@ static void dump(unsigned char *buf,size_t len) { int i; for(i=0;ivideo_channel != -1) - printf (" video channel = %d, %d x %d %d\n", str->video_channel, + av_log (s, AV_LOG_DEBUG, " video channel = %d, %d x %d %d\n", str->video_channel, str->channels[str->video_channel].width, str->channels[str->video_channel].height,str->channels[str->video_channel].video_stream_index); if (str->audio_channel != -1) - printf (" audio channel = %d, %d Hz, %d channels, %d bits/sample %d\n", + av_log (s, AV_LOG_DEBUG, " audio channel = %d, %d Hz, %d channels, %d bits/sample %d\n", str->audio_channel, str->channels[str->audio_channel].sample_rate, str->channels[str->audio_channel].channels, -- cgit v1.2.3