Function av_mediacodec_alloc_context
pub unsafe extern "C" fn av_mediacodec_alloc_context() -> *mut AVMediaCodecContext
Expand description
Allocate and initialize a MediaCodec context.
When decoding with MediaCodec is finished, the caller must free the MediaCodec context with av_mediacodec_default_free.
@return a pointer to a newly allocated AVMediaCodecContext on success, NULL otherwise