Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
321c5866
Commit
321c5866
authored
Aug 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shout: remove unused values
parent
71690f13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
modules/access_output/shout.c
modules/access_output/shout.c
+2
-10
No files found.
modules/access_output/shout.c
View file @
321c5866
...
...
@@ -316,11 +316,7 @@ static int Open( vlc_object_t *p_this )
while
(
i_ret
!=
SHOUTERR_CONNECTED
)
{
/* Shout parameters cannot be changed on an open connection */
i_ret
=
shout_close
(
p_shout
);
if
(
i_ret
==
SHOUTERR_SUCCESS
)
{
i_ret
=
SHOUTERR_UNCONNECTED
;
}
shout_close
(
p_shout
);
/* Re-initialize for Shoutcast using ICY protocol. Not needed for initial connection
but it is when we are reconnecting after other protocol was tried. */
...
...
@@ -341,11 +337,7 @@ static int Open( vlc_object_t *p_this )
msg_Warn
(
p_access
,
"failed to connect using 'icy' (shoutcast) protocol"
);
/* Shout parameters cannot be changed on an open connection */
i_ret
=
shout_close
(
p_shout
);
if
(
i_ret
==
SHOUTERR_SUCCESS
)
{
i_ret
=
SHOUTERR_UNCONNECTED
;
}
shout_close
(
p_shout
);
/* IceCAST using HTTP protocol */
i_ret
=
shout_set_protocol
(
p_shout
,
SHOUT_PROTOCOL_HTTP
);
...
...
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