]> git.sesse.net Git - vlc/commitdiff
vod: config_GetPsz -> var_InheritString
authorPierre Ynard <linkfanel@yahoo.fr>
Wed, 20 Jan 2010 18:29:23 +0000 (19:29 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Wed, 20 Jan 2010 18:29:23 +0000 (19:29 +0100)
modules/misc/rtsp.c

index 131c697433672927611178a6ee8f031df53264e2..94c0ef7f79c69b63584e16607d1ae6b77f6f10ee 100644 (file)
@@ -263,7 +263,7 @@ static int Open( vlc_object_t *p_this )
     char *psz_url = NULL;
     vlc_url_t url;
 
-    psz_url = config_GetPsz( p_vod, "rtsp-host" );
+    psz_url = var_InheritString( p_vod, "rtsp-host" );
     vlc_UrlParse( &url, psz_url, 0 );
     free( psz_url );