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/rm.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/rm.c')
-rw-r--r-- | libavformat/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index 6cec714ff8..7942337541 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -636,7 +636,7 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap) } else { if (get_le32(pb) != MKTAG('V', 'I', 'D', 'O')) { fail1: - fprintf(stderr, "Unsupported video codec\n"); + av_log(&st->codec, AV_LOG_ERROR, "Unsupported video codec\n"); goto fail; } st->codec.codec_tag = get_le32(pb); |