[vlc-commits] DTV: don't use 0 as NULL

Rémi Denis-Courmont git at videolan.org
Sat Jul 30 10:13:01 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 30 09:57:03 2011 +0300| [13a1893345e398f96d978ef705f7375d18438e3b] | committer: Rémi Denis-Courmont

DTV: don't use 0 as NULL

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

 modules/access/dtv/access.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index e03e0fa..66eeeec 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -273,7 +273,7 @@ vlc_module_begin ()
         change_safe ()
 
     set_section (N_("Cable and satellite reception parameters"), NULL)
-    add_string ("dvb-modulation", 0,
+    add_string ("dvb-modulation", NULL,
                  MODULATION_TEXT, MODULATION_LONGTEXT, false)
         change_string_list (modulation_vlc, modulation_user, NULL)
         change_safe ()



More information about the vlc-commits mailing list