pub unsafe extern "C" fn aom_codec_destroy(
    ctx: *mut aom_codec_ctx_t
) -> aom_codec_err_t
Expand description

Destroy a codec instance

Destroys a codec context, freeing any associated memory buffers.

\param[in] ctx Pointer to this instance’s context

\retval #AOM_CODEC_OK The codec instance has been destroyed. \retval #AOM_CODEC_INVALID_PARAM ctx is a null pointer. \retval #AOM_CODEC_ERROR Codec context not initialized.