int cnt;
wxFile binaryFile;
if (!binaryFile.Open(filename)) {
return false; // File not found
return NULL; // File not found
}
#ifdef USE_LIBID3TAG
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
// File is not a FLAC file
return false;
return NULL;
// Open the file for import