1
0
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:
Paul Licameli 2015-12-20 19:23:31 -05:00
parent 407c1dc4b2
commit b5f2046286

View File

@ -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)