mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 11:15:43 -04:00
CDROM: Prevent successful seeking to the lead-out area of the disc
This commit is contained in:
parent
c3c8df14ea
commit
684e83168e
@ -1310,6 +1310,12 @@ void CDROM::DoSeekComplete(TickCount ticks_late)
|
||||
seek_okay = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (subq.track_number_bcd == CDImage::LEAD_OUT_TRACK_NUMBER)
|
||||
{
|
||||
Log_WarningPrintf("Invalid seek to lead-out area (LBA %u)", m_reader.GetLastReadSector());
|
||||
seek_okay = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user