Fix ffmpeg
This commit is contained in:
@@ -34,7 +34,7 @@ if(NOT DEFINED FFMPEG_PREPARED_BINARIES)
|
|||||||
set(FFMPEG_PLATFORM_LIBRARIES numa va va-drm va-x11 X11)
|
set(FFMPEG_PLATFORM_LIBRARIES numa va va-drm va-x11 X11)
|
||||||
endif()
|
endif()
|
||||||
set(FFMPEG_PREPARED_BINARIES
|
set(FFMPEG_PREPARED_BINARIES
|
||||||
"${CMAKE_SOURCE_DIR}/third-party/build-deps/ffmpeg/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
"${CMAKE_SOURCE_DIR}/third-party/build-deps/dist/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
|
|
||||||
# check if the directory exists
|
# check if the directory exists
|
||||||
if(NOT EXISTS "${FFMPEG_PREPARED_BINARIES}")
|
if(NOT EXISTS "${FFMPEG_PREPARED_BINARIES}")
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
// lib includes
|
// lib includes
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
#include <cbs/cbs_h264.h>
|
#include <libavcodec/cbs_h264.h>
|
||||||
#include <cbs/cbs_h265.h>
|
#include <libavcodec/cbs_h265.h>
|
||||||
#include <cbs/h264_levels.h>
|
#include <libavcodec/h264_levels.h>
|
||||||
#include <libavutil/pixdesc.h>
|
#include <libavutil/pixdesc.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user