audacity/audacity-2.1.2-gcc-6.1.0.patch

32 lines
1006 B
Diff

--- audacity-2.1.2/src/import/ImportFLAC.cpp.orig 2016-06-14 11:25:28.028111388 +0200
+++ audacity-2.1.2/src/import/ImportFLAC.cpp 2016-06-14 11:26:03.383196348 +0200
@@ -296,7 +296,7 @@
int cnt;
wxFile binaryFile;
if (!binaryFile.Open(filename)) {
- return false; // File not found
+ return NULL; // File not found
}
#ifdef USE_LIBID3TAG
@@ -313,7 +313,7 @@
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
// File is not a FLAC file
- return false;
+ return NULL;
}
// Open the file for import
--- audacity-2.1.2/src/effects/vamp/LoadVamp.cpp.orig 2016-06-14 11:27:15.044181400 +0200
+++ audacity-2.1.2/src/effects/vamp/LoadVamp.cpp 2016-06-14 11:27:28.435085488 +0200
@@ -266,7 +266,7 @@
Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here
if (!vp)
{
- return false;
+ return NULL;
}
// We limit the listed plugin outputs to those whose results can