]> git.sesse.net Git - vlc/blobdiff - modules/access/rtp/rtp.c
demux: provide both URL and file path as with access
[vlc] / modules / access / rtp / rtp.c
index cf848686dc476e52cd343e11128e9c1d73ad97a2..32e13b3c109fe04a8f036e480faebc457d284037 100644 (file)
@@ -165,7 +165,7 @@ static int Open (vlc_object_t *obj)
     else
         return VLC_EGENERIC;
 
-    char *tmp = strdup (demux->psz_path);
+    char *tmp = strdup (demux->psz_location);
     if (tmp == NULL)
         return VLC_ENOMEM;