Mercurial > libavformat.hg
diff audio.c @ 370:845f9de2c883 libavformat
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
| author | michael |
|---|---|
| date | Wed, 03 Mar 2004 15:41:21 +0000 |
| parents | 3d92f793fd67 |
| children | b69898ffc92a |
line wrap: on
line diff
--- a/audio.c Wed Feb 25 17:35:52 2004 +0000 +++ b/audio.c Wed Mar 03 15:41:21 2004 +0000 @@ -106,7 +106,7 @@ 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; }
