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
fb95a748
Commit
fb95a748
authored
Oct 13, 2009
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asx.c: don't use const on prz_mrl
parent
1acdfadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+2
-2
No files found.
modules/demux/playlist/asx.c
View file @
fb95a748
...
@@ -530,7 +530,7 @@ static int Demux( demux_t *p_demux )
...
@@ -530,7 +530,7 @@ static int Demux( demux_t *p_demux )
char
*
psz_current_input_name
=
input_item_GetName
(
p_current_input
);
char
*
psz_current_input_name
=
input_item_GetName
(
p_current_input
);
if
(
asprintf
(
&
psz_name
,
"%d %s"
,
i_entry_count
,
(
psz_title_entry
?
psz_title_entry
:
psz_current_input_name
)
)
!=
-
1
)
if
(
asprintf
(
&
psz_name
,
"%d %s"
,
i_entry_count
,
(
psz_title_entry
?
psz_title_entry
:
psz_current_input_name
)
)
!=
-
1
)
{
{
c
onst
c
har
*
psz_mrl
=
ProcessMRL
(
psz_href
,
p_demux
->
p_sys
->
psz_prefix
);
char
*
psz_mrl
=
ProcessMRL
(
psz_href
,
p_demux
->
p_sys
->
psz_prefix
);
p_entry
=
input_item_NewExt
(
p_demux
,
psz_mrl
,
psz_name
,
p_entry
=
input_item_NewExt
(
p_demux
,
psz_mrl
,
psz_name
,
i_options
,
(
const
char
*
const
*
)
ppsz_options
,
VLC_INPUT_OPTION_TRUSTED
,
-
1
);
i_options
,
(
const
char
*
const
*
)
ppsz_options
,
VLC_INPUT_OPTION_TRUSTED
,
-
1
);
free
(
psz_name
);
free
(
psz_name
);
...
@@ -614,7 +614,7 @@ static int Demux( demux_t *p_demux )
...
@@ -614,7 +614,7 @@ static int Demux( demux_t *p_demux )
input_item_t
*
p_entry
=
NULL
;
input_item_t
*
p_entry
=
NULL
;
char
*
psz_name
=
input_item_GetName
(
p_current_input
);
char
*
psz_name
=
input_item_GetName
(
p_current_input
);
c
onst
c
har
*
psz_mrl
=
ProcessMRL
(
psz_href
,
p_demux
->
p_sys
->
psz_prefix
);
char
*
psz_mrl
=
ProcessMRL
(
psz_href
,
p_demux
->
p_sys
->
psz_prefix
);
p_entry
=
input_item_NewExt
(
p_demux
,
psz_mrl
,
psz_name
,
p_entry
=
input_item_NewExt
(
p_demux
,
psz_mrl
,
psz_name
,
0
,
NULL
,
VLC_INPUT_OPTION_TRUSTED
,
-
1
);
0
,
NULL
,
VLC_INPUT_OPTION_TRUSTED
,
-
1
);
free
(
psz_mrl
);
free
(
psz_mrl
);
...
...
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