[DVDnav-discuss] r1017 - trunk/libdvdnav/src/dvdread/dvd_input.c
nicodvb
subversion at mplayerhq.hu
Sun Apr 20 10:18:52 CEST 2008
Author: nicodvb
Date: Sun Apr 20 10:18:52 2008
New Revision: 1017
Log:
check that dvdcss_version is not NULL before dereferencing it; patch by Erik Hovland - erik hovland org
Modified:
trunk/libdvdnav/src/dvdread/dvd_input.c
Modified: trunk/libdvdnav/src/dvdread/dvd_input.c
==============================================================================
--- trunk/libdvdnav/src/dvdread/dvd_input.c (original)
+++ trunk/libdvdnav/src/dvdread/dvd_input.c Sun Apr 20 10:18:52 2008
@@ -341,7 +341,7 @@ int dvdinput_setup(void)
fprintf(stderr, "DVDCSS_VERBOSE %s\n", psz_verbose);
*/
fprintf(stderr, "libdvdread: Using libdvdcss version %s for DVD access\n",
- *dvdcss_version);
+ dvdcss_version ? *dvdcss_version : "");
/* libdvdcss wrapper functions */
dvdinput_open = css_open;
More information about the DVDnav-discuss
mailing list