audio_core: fix msvc include issue

This commit is contained in:
liushuyu 2018-12-16 13:58:33 -07:00 committed by B3N30
parent bd9984b5f8
commit 8fe3e37df5
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ if (ENABLE_FFMPEG)
if (DEFINED FFmpeg_VER) if (DEFINED FFmpeg_VER)
download_bundled_external("ffmpeg/" ${FFmpeg_VER} FFmpeg_PREFIX) download_bundled_external("ffmpeg/" ${FFmpeg_VER} FFmpeg_PREFIX)
set(FFMPEG_DIR "${FFmpeg_PREFIX}") set(FFMPEG_DIR "${FFmpeg_PREFIX}/../")
set(FFMPEG_FOUND YES) set(FFMPEG_FOUND YES)
endif() endif()
else() else()

View File

@ -9,7 +9,7 @@
#endif // _WIN32 #endif // _WIN32
extern "C" { extern "C" {
#include "libavcodec/avcodec.h" #include <libavcodec/avcodec.h>
} }
#ifdef _WIN32 #ifdef _WIN32