1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 16:16:33 +01:00

Mac build fixes; and implement deleters for our imitation unique_ptr

This commit is contained in:
Paul Licameli
2016-04-10 14:15:51 -04:00
parent 2696da89cb
commit 59af732763
11 changed files with 299 additions and 236 deletions

View File

@@ -323,13 +323,13 @@ std::unique_ptr<ImportFileHandle> FFmpegImportPlugin::Open(const wxString &filen
}
if (!FFmpegLibsInst->ValidLibsLoaded())
{
return NULL;
return nullptr;
}
// Open the file for import
bool success = handle->Init();
if (!success) {
return NULL;
return nullptr;
}
return std::move(handle);