Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8038a9d3
Commit
8038a9d3
authored
Jan 03, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix invalid return
parent
6c02c3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/input/input.c
src/input/input.c
+3
-3
No files found.
src/input/input.c
View file @
8038a9d3
...
@@ -266,7 +266,7 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
...
@@ -266,7 +266,7 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
* \param p_parent a vlc_object
* \param p_parent a vlc_object
* \param p_item an input item
* \param p_item an input item
* \param b_block should we block until read is finished ?
* \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
,
int
__input_Read
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
vlc_bool_t
b_block
)
vlc_bool_t
b_block
)
...
@@ -280,7 +280,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -280,7 +280,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
if
(
b_block
)
if
(
b_block
)
{
{
RunAndClean
(
p_input
);
RunAndClean
(
p_input
);
return
0
;
return
VLC_SUCCESS
;
}
}
else
else
{
{
...
@@ -290,7 +290,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -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"
);
msg_Err
(
p_input
,
"cannot create input thread"
);
vlc_object_detach
(
p_input
);
vlc_object_detach
(
p_input
);
vlc_object_destroy
(
p_input
);
vlc_object_destroy
(
p_input
);
return
;
return
VLC_EGENERIC
;
}
}
}
}
return
p_input
->
i_object_id
;
return
p_input
->
i_object_id
;
...
...
Write
Preview
Markdown
is supported
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