[vlc-devel] commit: Fix return value ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Mar 17 20:11:32 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 17 21:09:07 2008 +0200| [5bfaf660bd32e11683bde7c96270dcd094dbea74]
Fix return value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5bfaf660bd32e11683bde7c96270dcd094dbea74
---
src/input/control.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/input/control.c b/src/input/control.c
index 55e4207..3b6af5d 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -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;
}
More information about the vlc-devel
mailing list