diff mpeg.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 cbcbaeff1f2c
children 96f8086bc2ba
line wrap: on
line diff
--- a/mpeg.c	Wed Feb 25 17:35:52 2004 +0000
+++ b/mpeg.c	Wed Mar 03 15:41:21 2004 +0000
@@ -773,7 +773,7 @@
             }
         }
 #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