Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
8038a9d3
Commit
8038a9d3
authored
Jan 03, 2006
by
zorglub
Browse files
Fix invalid return
parent
6c02c3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
8038a9d3
...
...
@@ -266,7 +266,7 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
* \param p_parent a vlc_object
* \param p_item an input item
* \param b_block should we block until read is finished ?
* \return the input object id if non blocking,
0
else
* \return the input object id if non blocking,
an error code
else
*/
int
__input_Read
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
vlc_bool_t
b_block
)
...
...
@@ -280,7 +280,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
if
(
b_block
)
{
RunAndClean
(
p_input
);
return
0
;
return
VLC_SUCCESS
;
}
else
{
...
...
@@ -290,7 +290,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
msg_Err
(
p_input
,
"cannot create input thread"
);
vlc_object_detach
(
p_input
);
vlc_object_destroy
(
p_input
);
return
;
return
VLC_EGENERIC
;
}
}
return
p_input
->
i_object_id
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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