Alle mercoledì 7 settembre 2011, Svante Signell ha scritto:
>   diff -ur libdvdread-4.1.4-1219/src/dvd_reader.c
> libdvdread-4.1.4-1219.modified//src/dvd_reader.c
> [...]

> @@ -978,11 +1004,13 @@
>    else
>      sprintf( filename, "VTS_%02d_%d.VOB", title, menu ? 0 : 1 );
>  
> -  if( !findDVDFile( dvd, filename, full_path ) )
> +  if( !findDVDFile( dvd, filename, &full_path ) )
> +    free( full_path );
>      return -1;
>  

this misses the brackets, otherwise "return -1" is always executed.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to