[FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: include stdbool.h

Zhao Zhili quinkblack at foxmail.com
Fri Dec 16 05:39:58 EET 2022


From: Zhao Zhili <zhilizhao at tencent.com>

Since NDK failed to do that:
https://github.com/android/ndk/issues/1281
---
 libavcodec/mediacodec_wrapper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c
index 7ddf93ccc7..4d6e9487b8 100644
--- a/libavcodec/mediacodec_wrapper.c
+++ b/libavcodec/mediacodec_wrapper.c
@@ -22,6 +22,7 @@
 
 #include <dlfcn.h>
 #include <jni.h>
+#include <stdbool.h>
 #include <media/NdkMediaFormat.h>
 #include <media/NdkMediaCodec.h>
 #include <android/native_window_jni.h>
-- 
2.35.3



More information about the ffmpeg-devel mailing list