Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7e54e24b
Commit
7e54e24b
authored
Sep 01, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asx.c: ignore leading empty lins during detection
parent
38a482c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+7
-2
No files found.
modules/demux/playlist/asx.c
View file @
7e54e24b
...
...
@@ -85,9 +85,14 @@ static int StoreString( demux_t *p_demux, char **ppsz_string, char *psz_source_s
int
E_
(
Import_ASX
)(
vlc_object_t
*
p_this
)
{
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
uint8_t
*
p_peek
;
uint8_t
*
p_peek
,
*
p_peek_stop
;
CHECK_PEEK
(
p_peek
,
10
);
p_peek_stop
=
p_peek
+
6
;
// skip over possible leading empty lines
while
(
(
p_peek
<
p_peek_stop
)
&&
(
*
p_peek
==
'\n'
||
*
p_peek
==
'\r'
))
++
p_peek
;
if
(
POKE
(
p_peek
,
"<asx"
,
4
)
||
isExtension
(
p_demux
,
".asx"
)
||
isExtension
(
p_demux
,
".wax"
)
||
isExtension
(
p_demux
,
".wvx"
)
||
isDemux
(
p_demux
,
"asx-open"
)
)
...
...
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