]> git.sesse.net Git - vlc/commitdiff
Remove useless lines (which came from a missunderstanding of how it worked)
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 6 Feb 2006 12:07:40 +0000 (12:07 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 6 Feb 2006 12:07:40 +0000 (12:07 +0000)
src/stream_output/stream_output.c

index 4f768d57b269bdc36ccdda0b0067b50d9e62b10f..21fed547ab4c8c98f9da5611f0df020af212425a 100644 (file)
@@ -1036,10 +1036,8 @@ void __sout_CfgParse( vlc_object_t *p_this, char *psz_prefix,
             {
                 msg_Warn( p_this, "Option %s is deprecated. You should use "
                         "%s instead.", p_conf->psz_name, p_conf->psz_current );
-                i_type = config_GetType( p_this, psz_name );
                 free( psz_name );
                 psz_name = strdup( p_conf->psz_current );
-                var_Create( p_this, psz_name, i_type | VLC_VAR_DOINHERIT );
             }
         }
         /* </Check if the option is deprecated> */