From 5dda0ad913b0a19df49ce9f917737aaec0684391 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 30 Aug 2004 20:17:31 +0000 Subject: allow empty assignments, necessary for some weird servers... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13204 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/realrtsp/asmrp.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libmpdemux') diff --git a/libmpdemux/realrtsp/asmrp.c b/libmpdemux/realrtsp/asmrp.c index 4f05b3bda0..d011458d45 100644 --- a/libmpdemux/realrtsp/asmrp.c +++ b/libmpdemux/realrtsp/asmrp.c @@ -550,6 +550,13 @@ static void asmrp_assignment (asmrp_t *p) { printf ("assignment\n"); #endif + if (p->sym == ASMRP_SYM_COMMA || p->sym == ASMRP_SYM_SEMICOLON) { +#ifdef LOG + printf ("empty assignment\n"); +#endif + return; + } + if (p->sym != ASMRP_SYM_ID) { printf ("error: identifier expected\n"); abort (); -- cgit v1.2.3