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
ed37a76f
Commit
ed37a76f
authored
Jan 27, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oldrc: use make_URI() when adding files
parent
ed9350a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/control/rc.c
modules/control/rc.c
+10
-1
No files found.
modules/control/rc.c
View file @
ed37a76f
...
...
@@ -2092,7 +2092,15 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
if
(
*
psz_item
==
'\''
&&
psz_item
[
strlen
(
psz_item
)
-
1
]
==
'\''
)
{
psz_item
++
;
psz_item
[
strlen
(
psz_item
)
-
1
]
=
0
;
}
if
(
!
psz_item_mrl
)
psz_item_mrl
=
psz_item
;
if
(
!
psz_item_mrl
)
{
psz_item_mrl
=
make_URI
(
psz_item
,
NULL
);
if
(
!
psz_item_mrl
)
{
free
(
psz_orig
);
return
NULL
;
}
}
else
if
(
*
psz_item
)
{
i_options
++
;
...
...
@@ -2111,6 +2119,7 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
{
input_item_AddOption
(
p_item
,
ppsz_options
[
i
],
VLC_INPUT_OPTION_TRUSTED
);
}
free
(
psz_item_mrl
);
}
if
(
i_options
)
free
(
ppsz_options
);
...
...
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