[MPlayer-cvslog] CVS: main/libmpdemux/realrtsp rtsp.c,1.18,1.19

Roberto Togni CVS syncmail at mplayerhq.hu
Thu Feb 9 00:44:46 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux/realrtsp
In directory mail:/var2/tmp/cvs-serv30609

Modified Files:
	rtsp.c 
Log Message:
Fix CSeq answer for keepalive OPTIONS requests during playback
The CSeq was mispelled as Cseq, so MPlayer alwys answered with CSeq=1

Fixed with help from xiojason on #mplayer


Index: rtsp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/realrtsp/rtsp.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- rtsp.c	6 Jan 2006 14:39:10 -0000	1.18
+++ rtsp.c	8 Feb 2006 23:44:44 -0000	1.19
@@ -590,8 +590,8 @@
         rest=rtsp_get(s);
         if (!rest)
           return -1;
-        if (!strncmp(rest,"Cseq:",5))
-          sscanf(rest,"Cseq: %u",&seq);
+        if (!strncmp(rest,"CSeq:",5))
+          sscanf(rest,"CSeq: %u",&seq);
       } while (strlen(rest)!=0);
       free(rest);
       if (seq<0) {




More information about the MPlayer-cvslog mailing list