diff rtsp.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 d58c8859ff8c
children 1cf22651d33b
line wrap: on
line diff
--- a/rtsp.c	Wed Feb 25 17:35:52 2004 +0000
+++ b/rtsp.c	Wed Mar 03 15:41:21 2004 +0000
@@ -1050,7 +1050,7 @@
     RTSPHeader reply1, *reply = &reply1;
     char cmd[1024];
 
-    printf("hello state=%d\n", rt->state);
+    av_log(s, AV_LOG_DEBUG, "hello state=%d\n", rt->state);
 
     if (rt->state == RTSP_STATE_PAUSED) {
         snprintf(cmd, sizeof(cmd),