[libdvdnav-devel] [PATCH] use NULL
Petri Hintukainen
phintuka at gmail.com
Wed Sep 9 09:10:49 CEST 2015
---
src/dvd_reader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dvd_reader.c b/src/dvd_reader.c
index eca22ae..5c8a8d7 100644
--- a/src/dvd_reader.c
+++ b/src/dvd_reader.c
@@ -281,7 +281,7 @@ static dvd_reader_t *DVDOpenPath( const char *path_root )
dvd = malloc( sizeof( dvd_reader_t ) );
if( !dvd ) return NULL;
dvd->isImageFile = 0;
- dvd->dev = 0;
+ dvd->dev = NULL;
dvd->path_root = strdup( path_root );
if(!dvd->path_root) {
free(dvd);
--
2.1.4
More information about the libdvdnav-devel
mailing list