1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +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 */ /* 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.") "Audacity did not recognize the type of the file '%s'.\n\n%sFor uncompressed files, also try File > Import > Raw Data.")
.Format( fName, .Format( fName,
#if defined(USE_FFMPEG)
!FFmpegLibsInst() !FFmpegLibsInst()
? XO("Try installing FFmpeg.\n\n") ? XO("Try installing FFmpeg.\n\n") :
: Verbatim("") ); #endif
Verbatim("") );
} }
else else
{ {

View File

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