mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
* LocalDB merged with file browser
* fixed hangup on truncated flac files * optimized CRC32 calculations
This commit is contained in:
@@ -1628,6 +1628,8 @@ namespace CUETools.Codecs.ALAC
|
||||
verifyBuffer = new int[Alac.MAX_BLOCKSIZE * _pcm.ChannelCount];
|
||||
}
|
||||
|
||||
if (sample_count < 0)
|
||||
throw new InvalidOperationException("FinalSampleCount unknown");
|
||||
int frames = sample_count / eparams.block_size;
|
||||
int header_len = max_header_len
|
||||
+ eparams.padding_size
|
||||
|
||||
Reference in New Issue
Block a user