diff --git a/CMakeLists.txt b/CMakeLists.txt index 48e500523..6c4a7228b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,7 +267,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 57e150f95..a882e4f7b 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