Skip to content

Commit 8737bff

Browse files
committedJan 5, 2025
1 parent 63cb566 commit 8737bff

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ if (USE_MPEG)
439439
find_package(FFMPEG REQUIRED)
440440
add_definitions(-DFFMPEG -D__STDC_CONSTANT_MACROS)
441441
include_directories(${FFMPEG_INCLUDE_DIR})
442+
if(USE_GUI)
443+
target_link_libraries(nggui INTERFACE ${FFMPEG_LIBRARIES})
444+
endif(USE_GUI)
442445
endif (USE_MPEG)
443446

444447
#######################################################################

‎ng/encoding.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
#ifdef FFMPEG
55

6+
#include <mystdlib.h>
7+
using namespace std;
8+
69
extern "C" {
710
#include <libavutil/avassert.h>
811
#include <libavcodec/avcodec.h>

0 commit comments

Comments
 (0)