aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-08 23:44:44 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-08 23:44:44 +0000
commitc2b69a1427a85791f574a0fee1a32a76129ecda6 (patch)
tree07049beae92e7417500dd864e59614f684d43e6e /libmpdemux
parentae8e77ca8d25015029ce2afe5a8962701aff4727 (diff)
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17563 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/realrtsp/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/realrtsp/rtsp.c b/libmpdemux/realrtsp/rtsp.c
index 33dddde248..04df48590d 100644
--- a/libmpdemux/realrtsp/rtsp.c
+++ b/libmpdemux/realrtsp/rtsp.c
@@ -590,8 +590,8 @@ int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size) {
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) {