Revoked experimental change which sneaked into SVN by rev 3737
This commit is contained in:
parent
f667fc6458
commit
205a055b7f
@ -504,11 +504,8 @@ int isoburn_start_emulation(struct isoburn *o, int flag)
|
|||||||
memset(o->target_iso_head, 0, to_read);
|
memset(o->target_iso_head, 0, to_read);
|
||||||
if(capacity > 0 && (off_t) capacity * (off_t) 2048 < to_read)
|
if(capacity > 0 && (off_t) capacity * (off_t) 2048 < to_read)
|
||||||
to_read = (off_t) capacity * (off_t) 2048;
|
to_read = (off_t) capacity * (off_t) 2048;
|
||||||
|
|
||||||
ret = burn_read_data(drive, (off_t) 0, (char*)o->target_iso_head,
|
ret = burn_read_data(drive, (off_t) 0, (char*)o->target_iso_head,
|
||||||
to_read, &data_count, 4 | 8);
|
to_read, &data_count, 2 | 8);
|
||||||
/* <<< was 2 | 8); */
|
|
||||||
|
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
/* an error means a disc with no ISO image */
|
/* an error means a disc with no ISO image */
|
||||||
o->media_read_error= 1;
|
o->media_read_error= 1;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.05.19.133940"
|
#define Xorriso_timestamP "2011.05.19.134432"
|
||||||
|
Loading…
Reference in New Issue
Block a user