Commit 57720af1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use NULL rather than 0 as pointer

parent ee5f3335
...@@ -366,7 +366,7 @@ static void Close( vlc_object_t *p_this ) ...@@ -366,7 +366,7 @@ static void Close( vlc_object_t *p_this )
vlc_join( p_sys->p_thread->thread, NULL ); vlc_join( p_sys->p_thread->thread, NULL );
/* Free data */ /* Free data */
aout_filter_RequestVout( p_filter, p_sys->p_thread->p_vout, 0 ); aout_filter_RequestVout( p_filter, p_sys->p_thread->p_vout, NULL );
vlc_mutex_destroy( &p_sys->p_thread->lock ); vlc_mutex_destroy( &p_sys->p_thread->lock );
vlc_cond_destroy( &p_sys->p_thread->wait ); vlc_cond_destroy( &p_sys->p_thread->wait );
......
...@@ -292,7 +292,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -292,7 +292,7 @@ static int Open( vlc_object_t *p_this )
p_sys->fifo = block_FifoNew(); p_sys->fifo = block_FifoNew();
if( unlikely( p_sys->fifo == NULL ) ) if( unlikely( p_sys->fifo == NULL ) )
{ {
aout_filter_RequestVout( p_filter, p_sys->p_vout, 0 ); aout_filter_RequestVout( p_filter, p_sys->p_vout, NULL );
goto error; goto error;
} }
...@@ -300,7 +300,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -300,7 +300,7 @@ static int Open( vlc_object_t *p_this )
VLC_THREAD_PRIORITY_VIDEO ) ) VLC_THREAD_PRIORITY_VIDEO ) )
{ {
block_FifoRelease( p_sys->fifo ); block_FifoRelease( p_sys->fifo );
aout_filter_RequestVout( p_filter, p_sys->p_vout, 0 ); aout_filter_RequestVout( p_filter, p_sys->p_vout, NULL );
goto error; goto error;
} }
...@@ -386,7 +386,7 @@ static void Close( vlc_object_t *p_this ) ...@@ -386,7 +386,7 @@ static void Close( vlc_object_t *p_this )
vlc_cancel( p_sys->thread ); vlc_cancel( p_sys->thread );
vlc_join( p_sys->thread, NULL ); vlc_join( p_sys->thread, NULL );
block_FifoRelease( p_sys->fifo ); block_FifoRelease( p_sys->fifo );
aout_filter_RequestVout( p_filter, p_filter->p_sys->p_vout, 0 ); aout_filter_RequestVout( p_filter, p_filter->p_sys->p_vout, NULL );
/* Free the list */ /* Free the list */
for( int i = 0; i < p_sys->i_effect; i++ ) for( int i = 0; i < p_sys->i_effect; i++ )
......
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