av_mediacodec_default_init

Convenience function that sets up the MediaCodec context.

@param avctx codec context @param ctx MediaCodec context to initialize @param surface reference to an android/view/Surface @return 0 on success, < 0 otherwise

extern (C) @nogc nothrow
int
av_mediacodec_default_init
(
AVCodecContext* avctx
,,
void* surface
)

Meta