Function av_encryption_info_add_side_data

pub unsafe extern "C" fn av_encryption_info_add_side_data(
    info: *const AVEncryptionInfo,
    side_data_size: *mut usize,
) -> *mut u8
Expand description

Allocates and initializes side data that holds a copy of the given encryption info. The resulting pointer should be either freed using av_free or given to av_packet_add_side_data().

@return The new side-data pointer, or NULL.