mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Make the last travis-friendly
This commit is contained in:
parent
407c1dc4b2
commit
b5f2046286
@ -416,8 +416,8 @@ int PCMImportFileHandle::Import(TrackFactory *trackFactory,
|
||||
// samples in the tracks.
|
||||
|
||||
// PRL: guard against excessive memory buffer allocation in case of many channels
|
||||
__int64 maxBlock = std::min(maxBlockSize,
|
||||
__int64(std::numeric_limits<int>::max() /
|
||||
sampleCount maxBlock = std::min(maxBlockSize,
|
||||
sampleCount(std::numeric_limits<int>::max() /
|
||||
(mInfo.channels * SAMPLE_SIZE(mFormat)))
|
||||
);
|
||||
if (maxBlock < 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user