Fix ffmpeg

This commit is contained in:
Yukino Song
2025-02-07 19:29:14 +08:00
parent 7757e28c28
commit b896f68359
2 changed files with 4 additions and 4 deletions

View File

@@ -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}")

View File

@@ -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>
} }