diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-01 01:31:03 +0200 |
commit | aebb56e1844d61965c97e95534c3ae0da69df028 (patch) | |
tree | 7f32704e48844fbc928217ddcf6a10fc0b46a38f /libavformat/utils.c | |
parent | 8c6fde8c17afb6b551698aa1b4ed79eab6527f9d (diff) | |
download | ffmpeg-aebb56e1844d61965c97e95534c3ae0da69df028.tar.gz |
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 b935e402b8..1017d527d8 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2084,22 +2084,20 @@ static void estimate_timings(AVFormatContext *ic, int64_t old_offset) } update_stream_timings(ic); -#if 0 { int i; AVStream av_unused *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 *avctx) |