Avoided to bother libjte if no output paths are given

This commit is contained in:
2010-11-23 20:04:08 +00:00
parent bc9d6ae59c
commit 06c84ae7b0
5 changed files with 25 additions and 6 deletions

View File

@ -769,14 +769,14 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
xorriso->vol_uuid);
#ifdef Xorriso_with_libjtE
if(xorriso->libjte_handle) {
if(xorriso->libjte_handle && (xorriso->libjte_params_given & (4 | 8))) {
/* >>> Check whether the mandatory parameters are set */;
ret= libjte_set_outfile(xorriso->libjte_handle, xorriso->outdev);
Xorriso_process_msg_queues(xorriso, 0);
if(ret <= 0)
goto ex;
/* >>> Check whether the mandatory parameters are set */;
isoburn_igopt_attach_jte(sopts, xorriso->libjte_handle);
/* Padding to be done by libisofs, not by libburn */