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
b28532eb
Commit
b28532eb
authored
Sep 17, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not compute values that are never used (anymore)
parent
cecc208a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+0
-21
No files found.
modules/stream_out/rtp.c
View file @
b28532eb
...
...
@@ -208,11 +208,6 @@ struct sout_stream_sys_t
char
*
psz_sdp
;
vlc_mutex_t
lock_sdp
;
char
*
psz_session_name
;
char
*
psz_session_description
;
char
*
psz_session_url
;
char
*
psz_session_email
;
/* SDP to disk */
vlc_bool_t
b_export_sdp_file
;
char
*
psz_sdp_file
;
...
...
@@ -314,10 +309,6 @@ static int Open( vlc_object_t *p_this )
return
VLC_ENOMEM
;
p_sys
->
psz_destination
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"dst"
);
p_sys
->
psz_session_name
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"name"
);
p_sys
->
psz_session_description
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"description"
);
p_sys
->
psz_session_url
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"url"
);
p_sys
->
psz_session_email
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"email"
);
p_sys
->
i_port
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"port"
);
p_sys
->
i_port_audio
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"port-audio"
);
...
...
@@ -332,14 +323,6 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_port_video
=
0
;
}
if
(
!
p_sys
->
psz_session_name
)
{
if
(
p_sys
->
psz_destination
)
p_sys
->
psz_session_name
=
strdup
(
p_sys
->
psz_destination
);
else
p_sys
->
psz_session_name
=
strdup
(
"NONE"
);
}
for
(
p_cfg
=
p_stream
->
p_cfg
;
p_cfg
!=
NULL
;
p_cfg
=
p_cfg
->
p_next
)
{
if
(
!
strcmp
(
p_cfg
->
psz_name
,
"sdp"
)
...
...
@@ -552,10 +535,6 @@ static void Close( vlc_object_t * p_this )
if
(
p_sys
->
p_httpd_host
)
httpd_HostDelete
(
p_sys
->
p_httpd_host
);
free
(
p_sys
->
psz_session_name
);
free
(
p_sys
->
psz_session_description
);
free
(
p_sys
->
psz_session_url
);
free
(
p_sys
->
psz_session_email
);
free
(
p_sys
->
psz_sdp
);
if
(
p_sys
->
b_export_sdp_file
)
...
...
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