diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e72baefe3..d9433456ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,7 +270,7 @@ if (ENABLE_FFMPEG) if (DEFINED FFmpeg_VER) download_bundled_external("ffmpeg/" ${FFmpeg_VER} FFmpeg_PREFIX) - set(FFMPEG_DIR "${FFmpeg_PREFIX}") + set(FFMPEG_DIR "${FFmpeg_PREFIX}/../") set(FFMPEG_FOUND YES) endif() else() diff --git a/src/audio_core/hle/ffmpeg_dl.h b/src/audio_core/hle/ffmpeg_dl.h index 57e150f952..a882e4f7b7 100644 --- a/src/audio_core/hle/ffmpeg_dl.h +++ b/src/audio_core/hle/ffmpeg_dl.h @@ -9,7 +9,7 @@ #endif // _WIN32 extern "C" { -#include "libavcodec/avcodec.h" +#include } #ifdef _WIN32