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

Zhao Zhili git at videolan.org
Mon Dec 19 04:09:26 EET 2022


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Fri Dec 16 11:39:58 2022 +0800| [48d5aecfc4386be096dfb5d4c021af247ef0d803] | committer: Zhao Zhili

avcodec/mediacodec_wrapper: include stdbool.h

Since NDK failed to do that:
https://github.com/android/ndk/issues/1281

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48d5aecfc4386be096dfb5d4c021af247ef0d803
---

 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>



More information about the ffmpeg-cvslog mailing list