Function av_mediacodec_default_init
pub unsafe extern "C" fn av_mediacodec_default_init(
avctx: *mut AVCodecContext,
ctx: *mut AVMediaCodecContext,
surface: *mut c_void,
) -> i32
Expand description
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