Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/mediacodec_wrapper: get api level via NDK method

2023-01-10 Thread Tomas Härdin
tis 2023-01-10 klockan 19:30 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > android_get_device_api_level() is a static inline before API level > 29. It was implemented via __system_property_get(). We can do the > same thing, but I don't want to mess up with __system_property_get. > --- >  

[FFmpeg-devel] [PATCH v2 1/2] avcodec/mediacodec_wrapper: get api level via NDK method

2023-01-09 Thread Zhao Zhili
From: Zhao Zhili android_get_device_api_level() is a static inline before API level 29. It was implemented via __system_property_get(). We can do the same thing, but I don't want to mess up with __system_property_get. --- libavcodec/mediacodec_wrapper.c | 18 ++ 1 file changed,