about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibavcodec58.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-05-11 14:01:46 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-05-11 14:01:46 +0200
commitb1eabd758349fafb92871254c34ff7e207b508be (patch)
tree1631b1c827fe67494d6e4dbc1c788b98f15256e9 /src/wrapped/wrappedlibavcodec58.c
parent7a2d9967f5aba185ea641cee996310187002fa24 (diff)
downloadbox64-b1eabd758349fafb92871254c34ff7e207b508be.tar.gz
box64-b1eabd758349fafb92871254c34ff7e207b508be.zip
[WRAPPER] Added more wrapped function to ffmpeg, and disable it with NOGTK=1, as wrapping needs more work on structure callbacks
Diffstat (limited to 'src/wrapped/wrappedlibavcodec58.c')
-rw-r--r--src/wrapped/wrappedlibavcodec58.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibavcodec58.c b/src/wrapped/wrappedlibavcodec58.c
index 17e4170d..f0afe381 100644
--- a/src/wrapped/wrappedlibavcodec58.c
+++ b/src/wrapped/wrappedlibavcodec58.c
@@ -35,4 +35,8 @@ GO(2)   \
 GO(3)   \
 GO(4)
 
+#define PRE_INIT    \
+    if(BOX64ENV(nogtk)) \
+        return -1;
+
 #include "wrappedlib_init.h"