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

Tomas Härdin git at haerdin.se
Tue Dec 20 20:04:08 EET 2022


mån 2022-12-19 klockan 10:11 +0800 skrev zhilizhao(赵志立):
> 
> 
> > On Dec 16, 2022, at 11:39, Zhao Zhili <quinkblack at foxmail.com>
> > wrote:
> > 
> > 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>
> > -- 
> 
> Pushed as 48d5aecfc4386be096dfb5d4c021af247ef0d803.

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

/Tomas



More information about the ffmpeg-devel mailing list