Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ab95c5fa
Commit
ab95c5fa
authored
May 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some dead code
parent
b9c8ba90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+0
-35
No files found.
src/stream_output/stream_output.c
View file @
ab95c5fa
...
@@ -761,41 +761,6 @@ static void mrl_Clean( mrl_t *p_mrl )
...
@@ -761,41 +761,6 @@ static void mrl_Clean( mrl_t *p_mrl )
* return a pointer on the rest
* return a pointer on the rest
* XXX: psz_chain is modified
* XXX: psz_chain is modified
*/
*/
#define SKIPSPACE( p ) { while( *p && ( *p == ' ' || *p == '\t' ) ) p++; }
#define SKIPTRAILINGSPACE( p, e ) \
{ while( e > p && ( *(e-1) == ' ' || *(e-1) == '\t' ) ) e--; }
/* go accross " " and { } */
static
char
*
_get_chain_end
(
char
*
str
)
{
char
c
,
*
p
=
str
;
SKIPSPACE
(
p
);
for
(
;;
)
{
if
(
!*
p
||
*
p
==
','
||
*
p
==
'}'
)
return
p
;
if
(
*
p
!=
'{'
&&
*
p
!=
'"'
&&
*
p
!=
'\''
)
{
p
++
;
continue
;
}
if
(
*
p
==
'{'
)
c
=
'}'
;
else
c
=
*
p
;
p
++
;
for
(
;;
)
{
if
(
!*
p
)
return
p
;
if
(
*
p
==
c
)
return
++
p
;
else
if
(
*
p
==
'{'
&&
c
==
'}'
)
p
=
_get_chain_end
(
p
);
else
p
++
;
}
}
}
/*
/*
* XXX name and p_cfg are used (-> do NOT free them)
* XXX name and p_cfg are used (-> do NOT free them)
...
...
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