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
4dded813
Commit
4dded813
authored
Mar 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless NULLity checks
Signed-off-by:
Rémi Denis-Courmont
<
rem@videolan.org
>
parent
eb4fd245
Changes
1
Show 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 @
4dded813
...
@@ -2201,7 +2201,7 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2201,7 +2201,7 @@ static int InputSourceInit( input_thread_t *p_input,
{
{
psz_demux
=
psz_forced_demux
;
psz_demux
=
psz_forced_demux
;
}
}
else
if
(
!
psz_demux
||
*
psz_demux
==
'\0'
)
else
if
(
*
psz_demux
==
'\0'
)
{
{
/* special hack for forcing a demuxer with --demux=module
/* special hack for forcing a demuxer with --demux=module
* (and do nothing with a list) */
* (and do nothing with a list) */
...
@@ -2227,9 +2227,9 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2227,9 +2227,9 @@ static int InputSourceInit( input_thread_t *p_input,
else
else
{
{
/* Preparsing is only for file:// */
/* Preparsing is only for file:// */
if
(
psz_demux
&&
*
psz_demux
)
if
(
*
psz_demux
)
goto
error
;
goto
error
;
if
(
!
psz_access
||
!
*
psz_access
)
/* path without scheme:// */
if
(
!*
psz_access
)
/* path without scheme:// */
psz_access
=
"file"
;
psz_access
=
"file"
;
if
(
strcmp
(
psz_access
,
"file"
)
)
if
(
strcmp
(
psz_access
,
"file"
)
)
goto
error
;
goto
error
;
...
...
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