[vlc-commits] src/playlist/thread.c: Use the macro to lock/ unlock the playlist as in the rest of the file
Julien 'Lta' BALLET
git at videolan.org
Wed May 14 18:46:32 CEST 2014
vlc | branch: master | Julien 'Lta' BALLET <contact at lta.io> | Wed May 14 18:24:43 2014 +0200| [f3b952236dcbedcfe5c0e8ef6a74d708f289e69a] | committer: Felix Paul Kühne
src/playlist/thread.c: Use the macro to lock/unlock the playlist as in the rest of the file
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3b952236dcbedcfe5c0e8ef6a74d708f289e69a
---
src/playlist/thread.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index ed1b808..81629d6 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -525,7 +525,7 @@ static void *Thread ( void *data )
playlist_t *p_playlist = data;
playlist_private_t *p_sys = pl_priv(p_playlist);
- playlist_Lock( p_playlist );
+ PL_LOCK;
for( ;; )
{
while( p_sys->p_input != NULL )
@@ -550,7 +550,7 @@ static void *Thread ( void *data )
LoopRequest( p_playlist, status );
}
p_sys->status.i_status = PLAYLIST_STOPPED;
- playlist_Unlock( p_playlist );
+ PL_UNLOCK;
input_resource_Terminate( p_sys->p_input_resource );
return NULL;
More information about the vlc-commits
mailing list