Clarified role of drive when parsing already loaded ISO 9660 superblock

This commit is contained in:
2012-07-25 18:15:26 +00:00
parent 0e9348e01b
commit 3e6e961b90
3 changed files with 7 additions and 6 deletions

View File

@@ -1199,7 +1199,7 @@ int isoburn_report_iso_error(int iso_error_code, char msg_text[], int os_errno,
bit15= -reserved-
@return 1 seems to be a valid ISO image , 0 format not recognized, <0 error
*/
int isoburn_read_iso_head_parse(struct burn_drive *d, unsigned char *data,
int isoburn_read_iso_head_parse(unsigned char *data,
int *image_blocks, char *info, int flag)
{
int i, info_mode;
@@ -1297,13 +1297,13 @@ int isoburn_read_iso_head(struct burn_drive *d, int lba,
}
if(flag&(1<<14)) {
ret= isoburn_read_iso_head_parse(d, buffer, image_blocks, info, info_mode);
ret= isoburn_read_iso_head_parse(buffer, image_blocks, info, info_mode);
if(ret<0)
goto ex;
if(ret>0)
{ret= 2; goto ex;}
}
ret= isoburn_read_iso_head_parse(d, buffer+32*1024, image_blocks, info,
ret= isoburn_read_iso_head_parse(buffer+32*1024, image_blocks, info,
info_mode);
if(ret<=0)
goto ex;