diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 01bf3fca..07a81b2b 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.05.13.135251" +#define Xorriso_timestamP "2008.05.13.153837" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 13ff23e6..9ee8152a 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -5058,7 +5058,8 @@ int Xorriso_get_profile(struct XorrisO *xorriso, int *profile_number, *profile_number= 0; profile_name[0]= 0; - if(xorriso->out_drive_handle==NULL) + if(((flag&2) && xorriso->out_drive_handle==NULL) || + ((!(flag&2)) && xorriso->in_drive_handle==NULL)) return(0); ret= Xorriso_get_drive_handles(xorriso, &dinfo, &drive, "on attempt to determine media type", flag&2);