input/CdioParanoia: use IsEof() in Read()
This commit is contained in:
parent
1080c917be
commit
1714cf3417
@ -294,7 +294,7 @@ CdioParanoiaInputStream::Read(std::unique_lock<Mutex> &,
|
||||
|
||||
while (length > 0) {
|
||||
/* end of track ? */
|
||||
if (lsn_from + lsn_relofs > lsn_to)
|
||||
if (IsEOF())
|
||||
break;
|
||||
|
||||
//current sector was changed ?
|
||||
|
Loading…
Reference in New Issue
Block a user