Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5bfaf660
Commit
5bfaf660
authored
Mar 17, 2008
by
Rémi Denis-Courmont
Browse files
Fix return value
parent
bf4a3007
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/control.c
View file @
5bfaf660
...
@@ -506,9 +506,8 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
...
@@ -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
)
if
(
asprintf
(
&
str
,
"%s=%s"
,
psz_option
,
psz_value
)
==
-
1
)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
input_ItemAddOpt
(
p_input
->
p
->
input
.
p_item
,
str
,
i
=
input_ItemAddOpt
(
p_input
->
p
->
input
.
p_item
,
str
,
VLC_INPUT_OPTION_UNIQUE
);
VLC_INPUT_OPTION_UNIQUE
);
i
=
VLC_SUCCESS
;
free
(
str
);
free
(
str
);
return
i
;
return
i
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment