[][src]Function ffmpeg_dev::sys::av_encryption_init_info_alloc

pub unsafe extern "C" fn av_encryption_init_info_alloc(
    system_id_size: u32,
    num_key_ids: u32,
    key_id_size: u32,
    data_size: u32
) -> *mut AVEncryptionInitInfo

Allocates an AVEncryptionInitInfo structure and sub-pointers to hold the given sizes. This will allocate pointers and set all the fields.

@return The new AVEncryptionInitInfo structure, or NULL on error.