Commit 4d0721f0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Use PL_ASSERT_LOCKED.

parent 7f717d69
...@@ -221,7 +221,7 @@ static void input_selected_stream_changed( const vlc_event_t * event, void * dat ...@@ -221,7 +221,7 @@ static void input_selected_stream_changed( const vlc_event_t * event, void * dat
/* Internals */ /* Internals */
void playlist_release_current_input( playlist_t * p_playlist ) void playlist_release_current_input( playlist_t * p_playlist )
{ {
vlc_assert_locked( &(vlc_internals(p_playlist)->lock) ); PL_ASSERT_LOCKED;
if( !p_playlist->p_input ) return; if( !p_playlist->p_input ) return;
...@@ -244,7 +244,7 @@ void playlist_release_current_input( playlist_t * p_playlist ) ...@@ -244,7 +244,7 @@ void playlist_release_current_input( playlist_t * p_playlist )
void playlist_set_current_input( void playlist_set_current_input(
playlist_t * p_playlist, input_thread_t * p_input ) playlist_t * p_playlist, input_thread_t * p_input )
{ {
vlc_assert_locked( &(vlc_internals(p_playlist)->lock) ); PL_ASSERT_LOCKED;
playlist_release_current_input( p_playlist ); playlist_release_current_input( p_playlist );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment