Bug fix: Joliet writer should be only created when Joliet is enabled.
This commit is contained in:
parent
7bb4eaf46d
commit
747bed11b8
@ -898,10 +898,12 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts, Ecma119Image **img)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* create writer for Joliet structure */
|
/* create writer for Joliet structure */
|
||||||
|
if (target->joliet) {
|
||||||
ret = joliet_writer_create(target);
|
ret = joliet_writer_create(target);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
goto target_cleanup;
|
goto target_cleanup;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Volume Descriptor Set Terminator */
|
/* Volume Descriptor Set Terminator */
|
||||||
target->curblock++;
|
target->curblock++;
|
||||||
|
Loading…
Reference in New Issue
Block a user