Mercurial > libdvdnav.hg
comparison dvdread/dvd_reader.c @ 326:c1d5abe51fda src
more 0->NULL changes, part of ogle-1778
author | nicodvb |
---|---|
date | Mon, 31 Dec 2007 17:48:08 +0000 |
parents | d61d2dd248b2 |
children | d0a19ce1aa3d |
comparison
equal
deleted
inserted
replaced
325:d61d2dd248b2 | 326:c1d5abe51fda |
---|---|
235 dvdinput_close(dev); | 235 dvdinput_close(dev); |
236 return NULL; | 236 return NULL; |
237 } | 237 } |
238 dvd->isImageFile = 1; | 238 dvd->isImageFile = 1; |
239 dvd->dev = dev; | 239 dvd->dev = dev; |
240 dvd->path_root = 0; | 240 dvd->path_root = NULL; |
241 | 241 |
242 dvd->udfcache_level = DEFAULT_UDF_CACHE_LEVEL; | 242 dvd->udfcache_level = DEFAULT_UDF_CACHE_LEVEL; |
243 dvd->udfcache = NULL; | 243 dvd->udfcache = NULL; |
244 | 244 |
245 if( have_css ) { | 245 if( have_css ) { |
322 { | 322 { |
323 struct stat fileinfo; | 323 struct stat fileinfo; |
324 int ret; | 324 int ret; |
325 int have_css; | 325 int have_css; |
326 dvd_reader_t *ret_val = NULL; | 326 dvd_reader_t *ret_val = NULL; |
327 char *dev_name = 0; | 327 char *dev_name = NULL; |
328 char *path; | 328 char *path; |
329 | 329 |
330 #ifdef _MSC_VER | 330 #ifdef _MSC_VER |
331 int len; | 331 int len; |
332 #endif | 332 #endif |