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
f23f5e62
Commit
f23f5e62
authored
Jun 25, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv: destroy mutex after vlc_pthread_join()
parent
084a6247
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/access/dv.c
modules/access/dv.c
+1
-3
No files found.
modules/access/dv.c
View file @
f23f5e62
...
@@ -275,17 +275,15 @@ static void Close( vlc_object_t *p_this )
...
@@ -275,17 +275,15 @@ static void Close( vlc_object_t *p_this )
if
(
p_sys
->
p_raw1394
)
if
(
p_sys
->
p_raw1394
)
raw1394_iso_shutdown
(
p_sys
->
p_raw1394
);
raw1394_iso_shutdown
(
p_sys
->
p_raw1394
);
vlc_mutex_destroy
(
&
p_sys
->
p_ev
->
lock
);
vlc_thread_join
(
p_sys
->
p_ev
);
vlc_thread_join
(
p_sys
->
p_ev
);
vlc_mutex_destroy
(
&
p_sys
->
p_ev
->
lock
);
/* Cleanup frame data */
/* Cleanup frame data */
if
(
p_sys
->
p_ev
->
p_frame
)
if
(
p_sys
->
p_ev
->
p_frame
)
{
{
vlc_mutex_lock
(
&
p_sys
->
p_ev
->
lock
);
block_ChainRelease
(
p_sys
->
p_ev
->
p_frame
);
block_ChainRelease
(
p_sys
->
p_ev
->
p_frame
);
p_sys
->
p_ev
->
p_frame
=
NULL
;
p_sys
->
p_ev
->
p_frame
=
NULL
;
p_sys
->
p_ev
->
pp_last
=
&
p_sys
->
p_frame
;
p_sys
->
p_ev
->
pp_last
=
&
p_sys
->
p_frame
;
vlc_mutex_unlock
(
&
p_sys
->
p_ev
->
lock
);
}
}
vlc_object_release
(
p_sys
->
p_ev
);
vlc_object_release
(
p_sys
->
p_ev
);
}
}
...
...
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