Mercurial > hg > svcore
comparison data/fileio/AudioFileSizeEstimator.cpp @ 1586:841b2a3e606d
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:38 +0000 |
parents | 70e172e6cc59 |
children | ce185d4dd408 |
comparison
equal
deleted
inserted
replaced
1585:9570ef94eaa3 | 1586:841b2a3e606d |
---|---|
49 SVDEBUG << "AudioFileSizeEstimator: WAV file reader doesn't like this file, " | 49 SVDEBUG << "AudioFileSizeEstimator: WAV file reader doesn't like this file, " |
50 << "estimating from file size and extension instead" << endl; | 50 << "estimating from file size and extension instead" << endl; |
51 } | 51 } |
52 | 52 |
53 delete reader; | 53 delete reader; |
54 reader = 0; | 54 reader = nullptr; |
55 | 55 |
56 if (estimate == 0) { | 56 if (estimate == 0) { |
57 | 57 |
58 // The remainder just makes an estimate based on the file size | 58 // The remainder just makes an estimate based on the file size |
59 // and extension. We don't even know its sample rate at this | 59 // and extension. We don't even know its sample rate at this |