aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-30 20:17:31 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-30 20:17:31 +0000
commit5dda0ad913b0a19df49ce9f917737aaec0684391 (patch)
tree329cbb47e18141a3f3560c4bfc857ae7452b5136 /libmpdemux
parent8a7b7cdb730f371df9407cf00a87cfc4a8d201d2 (diff)
allow empty assignments, necessary for some weird servers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13204 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/realrtsp/asmrp.c7
1 files changed, 7 insertions, 0 deletions
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 ();