[vlc-devel] commit: mosaic: fix potential deadlock (unlocking in the right order). ( Rémi Duraffort )
git version control
git at videolan.org
Fri Jun 26 13:12:03 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jun 26 11:54:38 2009 +0200| [3e5af5bd6e8dc933a9142e4d8e06881b474d26a9] | committer: Rémi Duraffort
mosaic: fix potential deadlock (unlocking in the right order).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e5af5bd6e8dc933a9142e4d8e06881b474d26a9
---
modules/video_filter/mosaic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/mosaic.c b/modules/video_filter/mosaic.c
index dfee473..e367206 100644
--- a/modules/video_filter/mosaic.c
+++ b/modules/video_filter/mosaic.c
@@ -670,8 +670,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
{
msg_Err( p_filter, "cannot allocate SPU region" );
p_filter->pf_sub_buffer_del( p_filter, p_spu );
- vlc_mutex_unlock( &p_sys->lock );
vlc_mutex_unlock( p_sys->p_lock );
+ vlc_mutex_unlock( &p_sys->lock );
return p_spu;
}
More information about the vlc-devel
mailing list