From bc874daea8273e2471f5a6f914cdc9cf97371a1c Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Wed, 3 Mar 2004 15:41:21 +0000 Subject: av_log() patch by (Michel Bardiaux ) Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mpeg.c') diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 6ba516370f..a5cd8dfae1 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -773,7 +773,7 @@ static void compute_pts_dts(AVStream *st, int64_t *ppts, int64_t *pdts, } } #if 1 - printf("pts=%0.3f dts=%0.3f pict_type=%c\n", + av_log(&st->codec, AV_LOG_DEBUG, "pts=%0.3f dts=%0.3f pict_type=%c\n", pts / 90000.0, dts / 90000.0, av_get_pict_type_char(st->codec.coded_frame->pict_type)); #endif -- cgit v1.2.3