changeset 17562:492f442c11af

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
author rtognimp
date Wed, 08 Feb 2006 23:44:44 +0000
parents 7b7b7552fcbb
children 8084bcdb4898
files libmpdemux/realrtsp/rtsp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/realrtsp/rtsp.c	Wed Feb 08 23:22:29 2006 +0000
+++ b/libmpdemux/realrtsp/rtsp.c	Wed Feb 08 23:44:44 2006 +0000
@@ -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) {