av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Michael Niedermayer

parent
81c5f88748
commit
bc874daea8
@@ -1050,7 +1050,7 @@ static int rtsp_read_play(AVFormatContext *s)
|
||||
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),
|
||||
|
Reference in New Issue
Block a user