Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
edcbf581
Commit
edcbf581
authored
Nov 24, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix input-slave parser
parent
5b2069fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
src/input/input.c
src/input/input.c
+12
-15
No files found.
src/input/input.c
View file @
edcbf581
...
...
@@ -715,22 +715,20 @@ static int Init( input_thread_t * p_input )
psz
=
var_GetString
(
p_input
,
"input-slave"
);
if
(
*
psz
)
{
char
*
psz_delim
=
strchr
(
psz
,
'#'
);
for
(
;;
)
{
char
*
psz_delim
;
input_source_t
*
slave
;
if
(
psz_delim
)
while
(
psz
&&
*
psz
)
{
while
(
*
psz
==
' '
||
*
psz
==
'#'
)
{
psz
++
;
}
if
(
(
psz_delim
=
strchr
(
psz
,
'#'
)
)
)
{
*
psz_delim
++
=
'\0'
;
}
if
(
*
psz
==
'\0'
)
if
(
*
psz
==
0
)
{
if
(
psz_delim
)
continue
;
else
break
;
}
...
...
@@ -740,11 +738,10 @@ static int Init( input_thread_t * p_input )
{
TAB_APPEND
(
p_input
->
i_slave
,
p_input
->
slave
,
slave
);
}
if
(
!
psz_delim
)
break
;
}
psz
=
psz_delim
;
}
free
(
psz
);
}
/* Set up es_out */
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_SET_ACTIVE
,
VLC_TRUE
);
...
...
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