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
e21d626d
Commit
e21d626d
authored
Oct 07, 2010
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp, don't timeout if DESCRIBE failed
parent
5b49f631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
modules/demux/live555.cpp
modules/demux/live555.cpp
+12
-12
No files found.
modules/demux/live555.cpp
View file @
e21d626d
...
...
@@ -518,21 +518,21 @@ static void continueAfterDESCRIBE( RTSPClient* client, int result_code,
{
RTSPClientVlc
*
client_vlc
=
static_cast
<
RTSPClientVlc
*>
(
client
);
demux_sys_t
*
p_sys
=
client_vlc
->
p_sys
;
char
*
sdpDescription
=
result_string
;
p_sys
->
i_live555_ret
=
result_code
;
if
(
result_code
!=
0
)
{
delete
[]
sdpDescription
;
return
;
}
free
(
p_sys
->
p_sdp
);
p_sys
->
p_sdp
=
NULL
;
if
(
sdpDescription
)
if
(
result_code
==
0
)
{
p_sys
->
p_sdp
=
strdup
(
sdpDescription
);
delete
[]
sdpDescription
;
char
*
sdpDescription
=
result_string
;
free
(
p_sys
->
p_sdp
);
p_sys
->
p_sdp
=
NULL
;
if
(
sdpDescription
)
{
p_sys
->
p_sdp
=
strdup
(
sdpDescription
);
p_sys
->
b_error
=
false
;
}
}
p_sys
->
b_error
=
false
;
else
p_sys
->
b_error
=
true
;
delete
[]
result_string
;
p_sys
->
event
=
1
;
}
...
...
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