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
9522f374
Commit
9522f374
authored
Aug 16, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SAP out: do not access b_die directly
parent
672a85d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/stream_output/sap.c
src/stream_output/sap.c
+3
-3
No files found.
src/stream_output/sap.c
View file @
9522f374
...
@@ -192,10 +192,9 @@ static void * RunThread( vlc_object_t *p_this)
...
@@ -192,10 +192,9 @@ static void * RunThread( vlc_object_t *p_this)
{
{
sap_handler_t
*
p_sap
=
(
sap_handler_t
*
)
p_this
;
sap_handler_t
*
p_sap
=
(
sap_handler_t
*
)
p_this
;
sap_session_t
*
p_session
;
sap_session_t
*
p_session
;
int
canc
=
vlc_savecancel
();
/* TODO: Use poll() instead of msleep()). */
/* TODO: Use poll() instead of msleep()). */
while
(
!
p_sap
->
b_die
)
for
(;;
)
{
{
int
i
;
int
i
;
...
@@ -234,11 +233,12 @@ static void * RunThread( vlc_object_t *p_this)
...
@@ -234,11 +233,12 @@ static void * RunThread( vlc_object_t *p_this)
if
(
p_session
->
p_address
->
b_enabled
==
true
&&
if
(
p_session
->
p_address
->
b_enabled
==
true
&&
p_session
->
p_address
->
b_ready
==
true
)
p_session
->
p_address
->
b_ready
==
true
)
{
{
int
canc
=
vlc_savecancel
();
announce_SendSAPAnnounce
(
p_sap
,
p_session
);
announce_SendSAPAnnounce
(
p_sap
,
p_session
);
vlc_restorecancel
(
canc
);
}
}
vlc_object_unlock
(
p_sap
);
vlc_object_unlock
(
p_sap
);
}
}
vlc_restorecancel
(
canc
);
return
NULL
;
return
NULL
;
}
}
...
...
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