From f2247fcca13532b73ca89c02c16d8391b22eec41 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sun, 16 Dec 2018 13:58:33 -0700 Subject: [PATCH] audio_core: fix msvc include issue --- CMakeLists.txt | 2 +- src/audio_core/hle/ffmpeg_dl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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