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
01db92aa
Commit
01db92aa
authored
Jun 26, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: remove redundant checks
parent
076b7a15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
src/input/stream.c
src/input/stream.c
+1
-4
src/input/stream_filter.c
src/input/stream_filter.c
+2
-4
No files found.
src/input/stream.c
View file @
01db92aa
...
...
@@ -1857,10 +1857,7 @@ static int AStreamReadDir( stream_t *s, input_item_node_t *p_node )
{
access_t
*
p_access
=
s
->
p_sys
->
p_access
;
if
(
p_access
->
pf_readdir
!=
NULL
)
return
p_access
->
pf_readdir
(
p_access
,
p_node
);
else
return
VLC_ENOITEM
;
return
p_access
->
pf_readdir
(
p_access
,
p_node
);
}
/**
...
...
src/input/stream_filter.c
View file @
01db92aa
...
...
@@ -130,8 +130,6 @@ static void StreamDelete( stream_t *s )
int
stream_FilterDefaultReadDir
(
stream_t
*
s
,
input_item_node_t
*
p_node
)
{
if
(
s
!=
NULL
&&
s
->
p_source
!=
NULL
)
return
stream_ReadDir
(
s
->
p_source
,
p_node
);
else
return
VLC_ENOITEM
;
assert
(
s
->
p_source
!=
NULL
);
return
stream_ReadDir
(
s
->
p_source
,
p_node
);
}
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