diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-22 00:31:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-22 00:31:19 +0000 |
commit | d705e4a6bb6d052f4054886511bf0adb518d72c4 (patch) | |
tree | 71dc66fde545184d9bc6bd450b640a89becb0746 /libavcodec/rv10.c | |
parent | 2092bd7531f30b07f1188b2a28cf67a42d4bd8e4 (diff) | |
download | ffmpeg-d705e4a6bb6d052f4054886511bf0adb518d72c4.tar.gz |
(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 06f2b4e7d0..adcc87cc95 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -403,7 +403,7 @@ static int rv20_decode_picture_header(MpegEncContext *s) s->time= seq; s->pb_time= s->pp_time - (s->last_non_b_time - s->time); if(s->pp_time <=s->pb_time || s->pp_time <= s->pp_time - s->pb_time || s->pp_time<=0){ - printf("messed up order, seeking?, skiping current b frame\n"); + av_log(s->avctx, AV_LOG_DEBUG, "messed up order, seeking?, skiping current b frame\n"); return FRAME_SKIPED; } } |