Imported Upstream version 0.79.3

This commit is contained in:
Rogério Brito
2010-12-13 14:18:26 -02:00
parent 555c0daf7d
commit 205701b3de
614 changed files with 4486 additions and 2191 deletions

4
udf.c
View File

@@ -54,7 +54,7 @@ static int try_sector(DeviceHandle *dh, gint64 pos, EccHeader **ehptr, unsigned
data behind the image. So finding an invalid sector
does not imply there is not RS02 data present. */
if(strncmp((char*)eh->cookie, "*dvdisaster*", 12))
if(strncmp((char*)eh->cookie, "*dvdisaster*RS02", 16))
{ if(dh->rewriteable)
{ Verbose("udf/try_sector: no cookie but rewriteable medium: skipping header\n");
return TRY_NEXT_HEADER;
@@ -65,7 +65,7 @@ static int try_sector(DeviceHandle *dh, gint64 pos, EccHeader **ehptr, unsigned
}
}
else Verbose("udf/try_sector: header at %lld: magic cookie found\n", (long long int)pos);
/* Calculate CRC */
recorded_crc = eh->selfCRC;