[vlc-commits] commit: Removed duplicated call in imem. (Laurent Aimar )

git at videolan.org git at videolan.org
Tue Mar 30 21:33:35 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Mar 30 20:45:00 2010 +0200| [2cb1e514559c3dd4d4cf78dcfd523f91b81cb49d] | committer: Laurent Aimar 

Removed duplicated call in imem.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cb1e514559c3dd4d4cf78dcfd523f91b81cb49d
---

 modules/access/imem.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/access/imem.c b/modules/access/imem.c
index 3d65b99..a03fbe8 100644
--- a/modules/access/imem.c
+++ b/modules/access/imem.c
@@ -256,11 +256,6 @@ static int Open(vlc_object_t *object)
     if (*demux->psz_path)
         ParseMRL(demux);
 
-    /* Now we can parse the MRL (get/release must not be parsed to avoid
-     * security risks) */
-    if (*demux->psz_path)
-        ParseMRL(demux);
-
     sys->source.cookie = var_InheritString(demux, "imem-cookie");
 
     msg_Dbg(demux, "Using get(%p), release(%p), data(%p), cookie(%s)",



More information about the vlc-commits mailing list