[Mplayer-cvslog] CVS: main/libmpdemux/realrtsp asmrp.c,1.1,1.2

Reimar Döffinger CVS syncmail at mplayerhq.hu
Mon Aug 30 22:17:34 CEST 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux/realrtsp
In directory mail:/var2/tmp/cvs-serv1683/libmpdemux/realrtsp

Modified Files:
	asmrp.c 
Log Message:
allow empty assignments, necessary for some weird servers...


Index: asmrp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/realrtsp/asmrp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- asmrp.c	17 Apr 2003 20:38:57 -0000	1.1
+++ asmrp.c	30 Aug 2004 20:17:31 -0000	1.2
@@ -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 ();




More information about the MPlayer-cvslog mailing list