[MPlayer-cvslog] r21805 - trunk/stream/realrtsp/asmrp.c

rtogni subversion at mplayerhq.hu
Mon Jan 1 18:57:16 CET 2007


Author: rtogni
Date: Mon Jan  1 18:57:16 2007
New Revision: 21805

Modified:
   trunk/stream/realrtsp/asmrp.c

Log:
Fix invalid memory access if identifier is unknown


Modified: trunk/stream/realrtsp/asmrp.c
==============================================================================
--- trunk/stream/realrtsp/asmrp.c	(original)
+++ trunk/stream/realrtsp/asmrp.c	Mon Jan  1 18:57:16 2007
@@ -426,7 +426,7 @@
     i = asmrp_find_id (p, p->str);
     if (i<0) {
       mp_msg(MSGT_STREAM, MSGL_ERR, "error: unknown identifier %s\n", p->str);
-    }
+    } else
     ret = p->sym_tab[i].v;
 
     asmrp_get_sym (p);



More information about the MPlayer-cvslog mailing list