# HG changeset patch # User bcoudurier # Date 1211776822 0 # Node ID c4cb83968a807e3dda5c3cf00e4c0f85fe3e1dea # Parent a38b87a72416126fe8bd3d1c13ddca7015219d01 replace printf by av_log diff -r a38b87a72416 -r c4cb83968a80 ffmdec.c --- a/ffmdec.c Mon May 26 04:38:46 2008 +0000 +++ b/ffmdec.c Mon May 26 04:40:22 2008 +0000 @@ -152,7 +152,7 @@ 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 @@ 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 @@ 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) */