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
dbb19bb6
Commit
dbb19bb6
authored
Dec 19, 2011
by
Pierre Ynard
Committed by
Rémi Denis-Courmont
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sap: handle SAP_Add() errors
Fixes #5640 Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
0e874482
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/stream_output/announce.c
src/stream_output/announce.c
+8
-1
No files found.
src/stream_output/announce.c
View file @
dbb19bb6
...
...
@@ -92,7 +92,14 @@ sout_AnnounceRegisterSDP( vlc_object_t *obj, const char *psz_sdp,
goto
error
;
msg_Dbg
(
obj
,
"adding SAP session"
);
SAP_Add
(
p_sap
,
p_session
);
if
(
SAP_Add
(
p_sap
,
p_session
))
{
vlc_mutex_lock
(
&
sap_mutex
);
vlc_object_release
((
vlc_object_t
*
)
p_sap
);
vlc_mutex_unlock
(
&
sap_mutex
);
goto
error
;
}
return
p_session
;
error:
...
...
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