# HG changeset patch # User reimar # Date 1093897051 0 # Node ID 0d38a501c6a599eb4f4c2d83f62b816c8456a1af # Parent 45ef7e938cd13652f5a312d47e285caaf69a3a78 allow empty assignments, necessary for some weird servers... diff -r 45ef7e938cd1 -r 0d38a501c6a5 libmpdemux/realrtsp/asmrp.c --- a/libmpdemux/realrtsp/asmrp.c Mon Aug 30 19:11:18 2004 +0000 +++ b/libmpdemux/realrtsp/asmrp.c Mon Aug 30 20:17:31 2004 +0000 @@ -550,6 +550,13 @@ 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 ();