Commit a62d3071 authored by Rémi Duraffort's avatar Rémi Duraffort

Clarification (the last case can't happend) (CID 174)

parent a5ad91e7
......@@ -1711,6 +1711,9 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
{
psz_variable = "video-snapshot";
}
else
/* This case can't happend */
return VLC_EGENERIC;
if( newval.psz_string && *newval.psz_string )
{
......@@ -1726,7 +1729,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
i_error = var_Set( p_vout, psz_variable, newval );
}
}
else if( !strcmp( psz_cmd, "snapshot" ) )
else if( !strcmp( psz_cmd, "snapshot" ) )
{
vlc_value_t val;
val.b_bool = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment