diff options
author | Michel Bardiaux <mbardiaux@peaktime.be> | 2004-03-03 15:41:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 15:41:21 +0000 |
commit | bc874daea8273e2471f5a6f914cdc9cf97371a1c (patch) | |
tree | 967f82d529194e1dcc9865caedc0378950ec6f2f /libavformat/audio.c | |
parent | 81c5f887485a3d46ec5948832acc7da8167b5248 (diff) | |
download | ffmpeg-bc874daea8273e2471f5a6f914cdc9cf97371a1c.tar.gz |
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/audio.c')
-rw-r--r-- | libavformat/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audio.c b/libavformat/audio.c index 3662e458ff..d40f0f9bc2 100644 --- a/libavformat/audio.c +++ b/libavformat/audio.c @@ -106,7 +106,7 @@ static int audio_open(AudioData *s, int is_output, const char *audio_device) s->codec_id = CODEC_ID_PCM_S16BE; break; default: - fprintf(stderr, "Soundcard does not support 16 bit sample format\n"); + av_log(NULL, AV_LOG_ERROR, "Soundcard does not support 16 bit sample format\n"); close(audio_fd); return -EIO; } |