[vlc-commits] Use NULL rather than 0 as pointer

Rémi Denis-Courmont git at videolan.org
Thu Apr 25 17:46:26 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 25 18:46:07 2013 +0300| [6ed34f459d9f6627c0e7c7384d53ca6bd3a8a291] | committer: Rémi Denis-Courmont

Use NULL rather than 0 as pointer

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ed34f459d9f6627c0e7c7384d53ca6bd3a8a291
---

 modules/visualization/goom.c          |    2 +-
 modules/visualization/visual/visual.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
index b2496d3..075ab7d 100644
--- a/modules/visualization/goom.c
+++ b/modules/visualization/goom.c
@@ -366,7 +366,7 @@ static void Close( vlc_object_t *p_this )
     vlc_join( p_sys->p_thread->thread, NULL );
 
     /* 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_cond_destroy( &p_sys->p_thread->wait );
 
diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index 995818f..b9d946a 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -292,7 +292,7 @@ static int Open( vlc_object_t *p_this )
     p_sys->fifo = block_FifoNew();
     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;
     }
 
@@ -300,7 +300,7 @@ static int Open( vlc_object_t *p_this )
                    VLC_THREAD_PRIORITY_VIDEO ) )
     {
         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;
     }
 
@@ -386,7 +386,7 @@ static void Close( vlc_object_t *p_this )
     vlc_cancel( p_sys->thread );
     vlc_join( p_sys->thread, NULL );
     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 */
     for( int i = 0; i < p_sys->i_effect; i++ )



More information about the vlc-commits mailing list