diff mbox series

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

Message ID tencent_EE1820174DB74FB4551F276F38E116254D07@qq.com
State Accepted
Commit 48d5aecfc4386be096dfb5d4c021af247ef0d803
Headers show
Series [FFmpeg-devel] avcodec/mediacodec_wrapper: include stdbool.h | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Zhao Zhili Dec. 16, 2022, 3:39 a.m. UTC
From: Zhao Zhili <zhilizhao@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(+)

Comments

Zhao Zhili Dec. 19, 2022, 2:11 a.m. UTC | #1
> On Dec 16, 2022, at 11:39, Zhao Zhili <quinkblack@foxmail.com> wrote:
> 
> From: Zhao Zhili <zhilizhao@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>
> -- 

Pushed as 48d5aecfc4386be096dfb5d4c021af247ef0d803.
Tomas Härdin Dec. 20, 2022, 6:04 p.m. UTC | #2
mån 2022-12-19 klockan 10:11 +0800 skrev zhilizhao(赵志立):
> 
> 
> > On Dec 16, 2022, at 11:39, Zhao Zhili <quinkblack@foxmail.com>
> > wrote:
> > 
> > From: Zhao Zhili <zhilizhao@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>
> > -- 
> 
> Pushed as 48d5aecfc4386be096dfb5d4c021af247ef0d803.

Nice. I had in mind to submit a patch very much like this

/Tomas
diff mbox series

Patch

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>