changeset 13203:0d38a501c6a5

allow empty assignments, necessary for some weird servers...
author reimar
date Mon, 30 Aug 2004 20:17:31 +0000
parents 45ef7e938cd1
children 5f083a9f000e
files libmpdemux/realrtsp/asmrp.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ();