[vlc-commits] audiobargraph_v: use NULL

Rafaël Carré git at videolan.org
Wed Apr 16 22:32:49 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 16 16:16:58 2014 +0200| [8abe10b50fd8c9466052ab471f4055815b64a0f1] | committer: Rafaël Carré

audiobargraph_v: use NULL

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

 modules/video_filter/audiobargraph_v.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/audiobargraph_v.c b/modules/video_filter/audiobargraph_v.c
index c9a2f74..425e75d 100644
--- a/modules/video_filter/audiobargraph_v.c
+++ b/modules/video_filter/audiobargraph_v.c
@@ -639,7 +639,7 @@ static subpicture_t *FilterSub(filter_t *p_filter, mtime_t date)
     /* Basic test:  b_spu_update occurs on a dynamic change */
     if (!p_sys->b_spu_update) {
         vlc_mutex_unlock(&p_sys->lock);
-        return 0;
+        return NULL;
     }
 
     p_pic = p_BarGraph->p_pic;



More information about the vlc-commits mailing list