Commit 2b77f469 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

Cosmetics

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4e269e52
......@@ -53,11 +53,11 @@ char * (*dvdinput_error) (dvd_input_t);
# if defined(HAVE_DLFCN_H) && !defined(USING_BUILTIN_DLFCN)
# include <dlfcn.h>
# else
# if defined(WIN32)
# if defined(WIN32)
/* Only needed on MINGW at the moment */
# include "../msvc/contrib/dlfcn.c"
# include "../msvc/contrib/dlfcn.c"
# endif
# endif
#endif
typedef struct dvdcss_s *dvdcss_t;
typedef struct dvdcss_stream_cb dvdcss_stream_cb;
......
......@@ -374,7 +374,7 @@ static dvd_reader_t *DVDOpenCommon( const char *ppath,
if( ppath == NULL )
goto DVDOpen_error;
path = strdup(ppath);
path = strdup(ppath);
if( path == NULL )
goto DVDOpen_error;
......@@ -398,9 +398,9 @@ static dvd_reader_t *DVDOpenCommon( const char *ppath,
/* maybe "host:port" url? try opening it with acCeSS library */
if( strchr(path,':') ) {
ret_val = DVDOpenImageFile( path, NULL, NULL, have_css );
free(path);
return ret_val;
ret_val = DVDOpenImageFile( path, NULL, NULL, have_css );
free(path);
return ret_val;
}
/* If we can't stat the file, give up */
......
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