# HG changeset patch # User rtognimp # Date 1139442284 0 # Node ID 492f442c11afa4da06b298b83c896f397525b23d # Parent 7b7b7552fcbb414425ec9d3a59d19ec35e222954 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 diff -r 7b7b7552fcbb -r 492f442c11af libmpdemux/realrtsp/rtsp.c --- 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) {