[libdvdnav-devel] [PATCH] use NULL

Petri Hintukainen phintuka at gmail.com
Wed Sep 9 09:34:42 CEST 2015


Ignore this (it was fixed already)

On ke, 2015-09-09 at 10:10 +0300, Petri Hintukainen wrote:
> ---
>  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);




More information about the libdvdnav-devel mailing list