diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-02-02 14:17:21 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-02-02 14:17:21 -0200 |
commit | 608a6db5a76c3638457e40a4bae7debb5318b905 (patch) | |
tree | 503373471f476aa2e0b9e7b80eeda5ef6b19097e /src | |
parent | ae3564600219fb27e094805cc45991685d2e5504 (diff) |
Janitor: make distcheck, compiler warnings, .gitignore.
Diffstat (limited to 'src')
-rw-r--r-- | src/.gitignore | 7 | ||||
-rw-r--r-- | src/XvMCWrapper.c | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index 34c9a0a..0000000 --- a/src/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.deps -.libs -libXvMC.la -libXvMCW.la -*.lo -Makefile -Makefile.in diff --git a/src/XvMCWrapper.c b/src/XvMCWrapper.c index 42f175d..b9f97b2 100644 --- a/src/XvMCWrapper.c +++ b/src/XvMCWrapper.c @@ -315,15 +315,15 @@ static void initW(Display *dpy, XvPortID port) xW.initialised = 0; xW.vldextension = 0; - - if (0 == configFile) { + + if (NULL == configFile) { fprintf(stderr,"XvMCWrapper: Could not open config file \"%s\".\n", STRS(XVMC_CONFIGDIR) "/XvMCConfig"); perror("XvMCWrapper"); return; } - if (0 == fgets(nameBuffer, BUFLEN, configFile)) { + if (NULL == fgets(nameBuffer, BUFLEN, configFile)) { fclose(configFile); fprintf(stderr,"XvMCWrapper: Could not read XvMC library name.\n"); perror("XvMCWrapper"); |