Revoked -format mode by_size for DVD-RW

This commit is contained in:
2008-12-13 16:17:18 +00:00
parent 2a8c76c329
commit 49f025fae8
3 changed files with 5 additions and 4 deletions

View File

@ -4519,10 +4519,11 @@ int Xorriso_format_media(struct XorrisO *xorriso, off_t in_size, int flag)
}
} else if(current_profile == 0x14) { /* DVD-RW sequential */
if((flag & 3) == 1) {
if(flag & 1) {
size= 128*1024*1024;
mode_flag= 1; /* format to size, then write size of zeros */
}
} else
mode_flag= 4;
} else if(current_profile == 0x1a) { /* DVD+RW */
if(flag&1) {