Function av_encryption_init_info_get_side_data

pub unsafe extern "C" fn av_encryption_init_info_get_side_data(
    side_data: *const u8,
    side_data_size: usize,
) -> *mut AVEncryptionInitInfo
Expand description

Creates a copy of the AVEncryptionInitInfo that is contained in the given side data. The resulting object should be passed to av_encryption_init_info_free() when done.

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