1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Fix build when FFmpeg is disabled

This commit is contained in:
Leland Lucius 2021-04-08 02:11:58 -05:00
parent 42f01f9188
commit 853e6e9fe7
2 changed files with 6 additions and 2 deletions

View File

@ -803,9 +803,11 @@ bool Importer::Import( AudacityProject &project,
/* i18n-hint: %s will be the filename */
"Audacity did not recognize the type of the file '%s'.\n\n%sFor uncompressed files, also try File > Import > Raw Data.")
.Format( fName,
#if defined(USE_FFMPEG)
!FFmpegLibsInst()
? XO("Try installing FFmpeg.\n\n")
: Verbatim("") );
? XO("Try installing FFmpeg.\n\n") :
#endif
Verbatim("") );
}
else
{

View File

@ -10,6 +10,8 @@
#include "../Audacity.h"
#include <errno.h>
#include <wx/defs.h>
#include <wx/app.h>
#include <wx/bmpbuttn.h>