]> git.sesse.net Git - vlc/blobdiff - libs/loader/driver.c
Test pointers against NULL instead of 0.
[vlc] / libs / loader / driver.c
index 24c871511a24f7dc2b32dafe068b869a10dc57de..dde6a1d6ee387a4519d18f03c2e6fa1b73a54ad0 100644 (file)
@@ -95,7 +95,7 @@ static int needs_free=0;
 void SetCodecPath(const char* path)
 {
     if(needs_free)free(def_path);
-    if(path==0)
+    if(path==NULL)
     {
        def_path=WIN32_PATH;
        needs_free=0;