1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 13:12:17 +01:00
This commit is contained in:
v.audacity
2013-08-03 00:24:26 +00:00
parent d571ece7e6
commit 51e0391b7d
6 changed files with 17 additions and 2 deletions

View File

@@ -233,6 +233,7 @@ int ExportMP2::Export(AudacityProject *project,
{
wxMessageBox(_("Cannot export MP2 with this sample rate and bit rate"),
_("Error"), wxICON_STOP);
twolame_close(&encodeOptions);
return false;
}
@@ -243,6 +244,7 @@ int ExportMP2::Export(AudacityProject *project,
FileIO outFile(fName, FileIO::Output);
if (!outFile.IsOpened()) {
wxMessageBox(_("Unable to open target file for writing"));
twolame_close(&encodeOptions);
return false;
}