Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
build: fail in building ffmpeg with stb option off
Browse files Browse the repository at this point in the history
issue #436
  • Loading branch information
SiminBadri committed Mar 9, 2023
1 parent f874ffb commit d6a1530
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion wolf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions wolf/media/ffmpeg/w_av_frame.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit d6a1530

Please sign in to comment.