diff data/fileio/AudioFileReaderFactory.cpp @ 1599:ce185d4dd408 bqaudiostream

Merge from default branch
author Chris Cannam
date Wed, 23 Jan 2019 14:43:43 +0000
parents f8e3dcbafb4d 70e172e6cc59
children dbd13eb7dad1
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.cpp	Wed Jan 23 10:31:40 2019 +0000
+++ b/data/fileio/AudioFileReaderFactory.cpp	Wed Jan 23 14:43:43 2019 +0000
@@ -79,15 +79,15 @@
 
     if (!source.isOK()) {
         SVCERR << "AudioFileReaderFactory::createReader(\"" << source.getLocation() << "\": Failed to retrieve source (transmission error?): " << source.getErrorString() << endl;
-        return 0;
+        return nullptr;
     }
 
     if (!source.isAvailable()) {
         SVCERR << "AudioFileReaderFactory::createReader(\"" << source.getLocation() << "\": Source not found" << endl;
-        return 0;
+        return nullptr;
     }
 
-    AudioFileReader *reader = 0;
+    AudioFileReader *reader = nullptr;
 
     sv_samplerate_t targetRate = params.targetRate;
     bool normalised = (params.normalisation == Normalisation::Peak);