diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-01 17:57:16 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-01 17:57:16 +0000 |
commit | 959bb649e9e851af8fd96461a239a734bb25230c (patch) | |
tree | 853c47549a0fe751a600262fa47ae18945c976fa | |
parent | 128f311d86e1f63c2452c70c8f14c219bfc14256 (diff) | |
download | mpv-959bb649e9e851af8fd96461a239a734bb25230c.tar.bz2 mpv-959bb649e9e851af8fd96461a239a734bb25230c.tar.xz |
Fix invalid memory access if identifier is unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21805 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | stream/realrtsp/asmrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |