diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
commit | 045dd4b9287551443e655b313417fd776f52aab0 (patch) | |
tree | 54581408e4fba906927eda540049b2fd924b71a2 /libavformat/utils.c | |
parent | d1be646e906487b395190af1d6dd8d33c22bf25f (diff) | |
download | ffmpeg-045dd4b9287551443e655b313417fd776f52aab0.tar.gz |
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 88e9a49e87..6d6c8308ca 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1974,22 +1974,20 @@ static void av_estimate_timings(AVFormatContext *ic, int64_t old_offset) } av_update_stream_timings(ic); -#if 0 { int i; AVStream *st; for(i = 0;i < ic->nb_streams; i++) { st = ic->streams[i]; - printf("%d: start_time: %0.3f duration: %0.3f\n", - i, (double)st->start_time / AV_TIME_BASE, - (double)st->duration / AV_TIME_BASE); + av_dlog(ic, "%d: start_time: %0.3f duration: %0.3f\n", i, + (double) st->start_time / AV_TIME_BASE, + (double) st->duration / AV_TIME_BASE); } - printf("stream: start_time: %0.3f duration: %0.3f bitrate=%d kb/s\n", - (double)ic->start_time / AV_TIME_BASE, - (double)ic->duration / AV_TIME_BASE, - ic->bit_rate / 1000); + av_dlog(ic, "stream: start_time: %0.3f duration: %0.3f bitrate=%d kb/s\n", + (double) ic->start_time / AV_TIME_BASE, + (double) ic->duration / AV_TIME_BASE, + ic->bit_rate / 1000); } -#endif } static int has_codec_parameters(AVCodecContext *enc) |