mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Support external decoders that don't report valid length in wav header
This commit is contained in:
@@ -202,7 +202,7 @@ namespace CUETools.Codecs
|
||||
_dataOffset = pos;
|
||||
if (!_IO.CanSeek || _IO.Length <= maxFileSize)
|
||||
{
|
||||
if (ckSize >= 0x7fffffff)
|
||||
if (ckSize == 0 || ckSize >= 0x7fffffff)
|
||||
_dataLen = -1;
|
||||
else
|
||||
_dataLen = (long)ckSize;
|
||||
|
||||
Reference in New Issue
Block a user