mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix conversion when ISRC or track flags are not present in source image.
This commit is contained in:
@@ -1051,6 +1051,12 @@ namespace Aaru.Commands.Image
|
||||
case SectorTagType.CdTrackIsrc:
|
||||
errno = inputFormat.ReadSectorTag(track.Sequence, tag, out sector);
|
||||
|
||||
if(errno == ErrorNumber.NoData)
|
||||
{
|
||||
errno = ErrorNumber.NoError;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(errno == ErrorNumber.NoError)
|
||||
result = outputFormat.WriteSectorTag(sector, track.Sequence, tag);
|
||||
else
|
||||
@@ -1230,7 +1236,7 @@ namespace Aaru.Commands.Image
|
||||
}
|
||||
});
|
||||
|
||||
if(errno != ErrorNumber.NoError)
|
||||
if(errno != ErrorNumber.NoError && !force)
|
||||
return (int)errno;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user