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
b3a61c87
Commit
b3a61c87
authored
Jul 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: fix FindPrefix() (fix #3863)
We need the invert hack for the core input "file://" decode_URI().
parent
f71f86fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+4
-2
No files found.
modules/demux/playlist/playlist.c
View file @
b3a61c87
...
...
@@ -188,14 +188,16 @@ char *FindPrefix( demux_t *p_demux )
char
*
psz_file
;
char
*
psz_prefix
;
char
*
psz_path
;
if
(
p_demux
->
psz_access
)
if
(
p_demux
->
psz_access
&&
*
p_demux
->
psz_access
&&
strcasecmp
(
p_demux
->
psz_access
,
"file"
)
)
{
if
(
asprintf
(
&
psz_path
,
"%s://%s"
,
p_demux
->
psz_access
,
p_demux
->
psz_path
)
==
-
1
)
return
NULL
;
}
else
{
psz_path
=
strdup
(
p_demux
->
psz_path
);
psz_path
=
make_URI
(
p_demux
->
psz_path
);
if
(
psz_path
==
NULL
)
return
NULL
;
}
...
...
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