audio_core: fix msvc include issue

This commit is contained in:
liushuyu 2018-12-16 13:58:33 -07:00
parent 4e41399702
commit f2247fcca1
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,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