Commit 32c6f60f authored by Petri Hintukainen's avatar Petri Hintukainen

Use NULL when comparing pointer

parent 5e2ffa4b
......@@ -107,7 +107,7 @@ static dvd_input_t css_open(const char *target,
NULL;
#endif
}
if(dev->dvdcss == 0) {
if(dev->dvdcss == NULL) {
fprintf(stderr, "libdvdread: Could not open %s with libdvdcss.\n", target);
free(dev);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment