From d6a15309851d10fbde9f9b7da07ae57f20790ebf Mon Sep 17 00:00:00 2001 From: Simin Badri Date: Thu, 9 Mar 2023 23:27:03 +0330 Subject: [PATCH] build: fail in building ffmpeg with stb option off issue #436 --- wolf/CMakeLists.txt | 2 +- wolf/media/ffmpeg/w_av_frame.hpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/wolf/CMakeLists.txt b/wolf/CMakeLists.txt index 52a2e3f01..a3924a9e5 100644 --- a/wolf/CMakeLists.txt +++ b/wolf/CMakeLists.txt @@ -94,7 +94,7 @@ option(WOLF_SYSTEM_STACKTRACE "Enable boost stacktrace" OFF) option(WOLF_SYSTEM_POSTGRESQL "Enable postgresql database client" OFF) # machine learing modules -option(WOLF_ML_OCR "Enable machine learning referee ocr" ON) +option(WOLF_ML_OCR "Enable machine learning referee ocr" OFF) option(WOLF_ML_NUDITY_DETECTION "Enable machine learning nudity detection" OFF) #option(WOLF_ENABLE_LTO "Enable cross language linking time optimization" OFF) diff --git a/wolf/media/ffmpeg/w_av_frame.hpp b/wolf/media/ffmpeg/w_av_frame.hpp index 6d22c0499..8e924d1b9 100644 --- a/wolf/media/ffmpeg/w_av_frame.hpp +++ b/wolf/media/ffmpeg/w_av_frame.hpp @@ -130,8 +130,6 @@ class w_av_frame { */ W_API w_av_config get_config() const noexcept; -#ifdef WOLF_MEDIA_STB - /** * create w_av_frame from image file path * @returns the AVFrame @@ -152,8 +150,6 @@ class w_av_frame { save_to_img_file(_In_ const std::filesystem::path &p_path, int p_quality = 100); -#endif - private: // copy constructor. w_av_frame(const w_av_frame &) = delete;