[FFmpeg-cvslog] r13425 - trunk/libavformat/ffmdec.c

bcoudurier subversion
Mon May 26 06:40:22 CEST 2008


Author: bcoudurier
Date: Mon May 26 06:40:22 2008
New Revision: 13425

Log:
replace printf by av_log

Modified:
   trunk/libavformat/ffmdec.c

Modified: trunk/libavformat/ffmdec.c
==============================================================================
--- trunk/libavformat/ffmdec.c	(original)
+++ trunk/libavformat/ffmdec.c	Mon May 26 06:40:22 2008
@@ -152,7 +152,7 @@ static void ffm_seek1(AVFormatContext *s
     if (pos >= ffm->file_size)
         pos -= (ffm->file_size - FFM_PACKET_SIZE);
 #ifdef DEBUG_SEEK
-    printf("seek to %"PRIx64" -> %"PRIx64"\n", pos1, pos);
+    av_log(s, AV_LOG_DEBUG, "seek to %"PRIx64" -> %"PRIx64"\n", pos1, pos);
 #endif
     url_fseek(pb, pos, SEEK_SET);
 }
@@ -166,7 +166,7 @@ static int64_t get_pts(AVFormatContext *
     url_fskip(pb, 4);
     pts = get_be64(pb);
 #ifdef DEBUG_SEEK
-    printf("pts=%0.6f\n", pts / 1000000.0);
+    av_log(s, AV_LOG_DEBUG, "pts=%0.6f\n", pts / 1000000.0);
 #endif
     return pts;
 }
@@ -422,7 +422,7 @@ static int ffm_seek(AVFormatContext *s, 
     double pos1;
 
 #ifdef DEBUG_SEEK
-    printf("wanted_pts=%0.6f\n", wanted_pts / 1000000.0);
+    av_log(s, AV_LOG_DEBUG, "wanted_pts=%0.6f\n", wanted_pts / 1000000.0);
 #endif
     /* find the position using linear interpolation (better than
        dichotomy in typical cases) */




More information about the ffmpeg-cvslog mailing list