From 959bb649e9e851af8fd96461a239a734bb25230c Mon Sep 17 00:00:00 2001 From: rtogni Date: Mon, 1 Jan 2007 17:57:16 +0000 Subject: Fix invalid memory access if identifier is unknown git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21805 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/realrtsp/asmrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/realrtsp') diff --git a/stream/realrtsp/asmrp.c b/stream/realrtsp/asmrp.c index ec86afae77..06519cccd0 100644 --- a/stream/realrtsp/asmrp.c +++ b/stream/realrtsp/asmrp.c @@ -426,7 +426,7 @@ static int asmrp_operand (asmrp_t *p) { 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); -- cgit v1.2.3