Commit 5bfaf660 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix return value

parent bf4a3007
......@@ -506,9 +506,8 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
if( asprintf( &str, "%s=%s", psz_option, psz_value ) == -1 )
return VLC_ENOMEM;
input_ItemAddOpt( p_input->p->input.p_item, str,
VLC_INPUT_OPTION_UNIQUE );
i = VLC_SUCCESS;
i = input_ItemAddOpt( p_input->p->input.p_item, str,
VLC_INPUT_OPTION_UNIQUE );
free( str );
return i;
}
......
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