av_mediacodec_alloc_context

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

extern (C) @nogc nothrow
av_mediacodec_alloc_context
()

Meta