1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

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
This commit is contained in:
rtognimp 2006-02-08 23:44:44 +00:00
parent ae8e77ca8d
commit c2b69a1427

View File

@ -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) {