Browse Source

Fix build when FFmpeg is disabled

au-ny-api
Leland Lucius 2 years ago
parent
commit
853e6e9fe7
  1. 6
      src/import/Import.cpp
  2. 2
      src/widgets/FileConfig.cpp

6
src/import/Import.cpp

@ -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
{

2
src/widgets/FileConfig.cpp

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

Loading…
Cancel
Save