opnsense-ports/audio/audacity/files/patch-src_import_ImportFLAC.cpp
Franco Fichtner b978213486 */*: sync with upstream
Taken from: FreeBSD
2016-02-03 04:55:00 +01:00

20 lines
580 B
C++

--- src/import/ImportFLAC.cpp.orig 2016-01-08 22:05:48 UTC
+++ src/import/ImportFLAC.cpp
@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open
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 @@ ImportFileHandle *FLACImportPlugin::Open
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
// File is not a FLAC file
- return false;
+ return NULL;
}
// Open the file for import