]> git.sesse.net Git - vlc/blobdiff - modules/demux/subtitle.c
Don't clutter REGISTRY on windows...
[vlc] / modules / demux / subtitle.c
index 14940862f72182f8d8ffe8c7a7a854b05b7bbed1..f7b9ae3a488446db350851f491a2c4e90fa2ce95 100644 (file)
@@ -253,7 +253,7 @@ static int Open ( vlc_object_t *p_this )
     /* Get or probe the type */
     p_sys->i_type = SUB_TYPE_UNKNOWN;
     psz_type = var_CreateGetString( p_demux, "sub-type" );
-    if( *psz_type )
+    if( psz_type && *psz_type )
     {
         int i;