X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libs%2Floader%2Fdriver.c;h=dde6a1d6ee387a4519d18f03c2e6fa1b73a54ad0;hb=a804eaa4782f3f8a384c19a223383be309e62023;hp=24c871511a24f7dc2b32dafe068b869a10dc57de;hpb=a02b83a7477ed76d26451b14bc4ecc50ea9e21b0;p=vlc diff --git a/libs/loader/driver.c b/libs/loader/driver.c index 24c871511a..dde6a1d6ee 100644 --- a/libs/loader/driver.c +++ b/libs/loader/driver.c @@ -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;