Mercurial > libavformat.hg
diff mov.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 | d18a2b1fc182 |
children | 1674ed5ca2f0 |
line wrap: on
line diff
--- a/mov.c Wed Feb 25 17:35:52 2004 +0000 +++ b/mov.c Wed Mar 03 15:41:21 2004 +0000 @@ -1531,7 +1531,7 @@ /* check MOV header */ err = mov_read_default(mov, pb, atom); if (err<0 || (!mov->found_moov && !mov->found_mdat)) { - fprintf(stderr, "mov: header not found !!! (err:%d, moov:%d, mdat:%d) pos:%lld\n", + av_log(s, AV_LOG_ERROR, "mov: header not found !!! (err:%d, moov:%d, mdat:%d) pos:%lld\n", err, mov->found_moov, mov->found_mdat, url_ftell(pb)); return -1; }