Mercurial > libavformat.hg
diff rm.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 | a313e1080322 |
| children | 60f897e8dd2d |
line wrap: on
line diff
--- a/rm.c Wed Feb 25 17:35:52 2004 +0000 +++ b/rm.c Wed Mar 03 15:41:21 2004 +0000 @@ -636,7 +636,7 @@ } 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);
