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
aee70031
Commit
aee70031
authored
Oct 15, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_out_shoutcast: constify.
parent
b9eaf576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
modules/access_output/shout.c
modules/access_output/shout.c
+13
-13
No files found.
modules/access_output/shout.c
View file @
aee70031
...
...
@@ -170,17 +170,17 @@ static int Open( vlc_object_t *p_this )
unsigned
int
i_port
;
char
*
psz_val
;
char
*
psz_accessname
=
NULL
;
char
*
psz_parser
=
NULL
;
c
har
*
psz_user
=
NULL
;
c
har
*
psz_pass
=
NULL
;
c
har
*
psz_host
=
NULL
;
c
har
*
psz_mount
=
NULL
;
c
har
*
psz_name
=
NULL
;
char
*
psz_
description
=
NULL
;
char
*
tmp_port
=
NULL
;
char
*
psz_genre
=
NULL
;
char
*
psz_url
=
NULL
;
char
*
psz_accessname
;
char
*
psz_parser
;
c
onst
char
*
psz_user
;
c
onst
char
*
psz_pass
;
c
onst
char
*
psz_host
;
c
onst
char
*
psz_mount
;
c
onst
char
*
psz_port
;
char
*
psz_
name
;
char
*
psz_description
;
char
*
psz_genre
;
char
*
psz_url
;
config_ChainParse
(
p_access
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_access
->
p_cfg
);
...
...
@@ -205,12 +205,12 @@ static int Open( vlc_object_t *p_this )
psz_host
=
psz_parser
;
while
(
psz_parser
[
0
]
&&
psz_parser
[
0
]
!=
':'
)
psz_parser
++
;
if
(
psz_parser
[
0
]
)
{
psz_parser
[
0
]
=
0
;
psz_parser
++
;
}
tmp
_port
=
psz_parser
;
psz
_port
=
psz_parser
;
while
(
psz_parser
[
0
]
&&
psz_parser
[
0
]
!=
'/'
)
psz_parser
++
;
if
(
psz_parser
[
0
]
)
{
psz_parser
[
0
]
=
0
;
psz_parser
++
;
}
psz_mount
=
psz_parser
;
i_port
=
atoi
(
tmp
_port
);
i_port
=
atoi
(
psz
_port
);
p_sys
=
p_access
->
p_sys
=
malloc
(
sizeof
(
sout_access_out_sys_t
)
);
if
(
!
p_sys
)
...
...
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