Function rsmpeg::ffi::av_packet_new_side_data[][src]

pub unsafe extern "C" fn av_packet_new_side_data(
    pkt: *mut AVPacket,
    type_: u32,
    size: i32
) -> *mut u8
Expand description

Allocate new information of a packet.

@param pkt packet @param type side information type @param size side information size @return pointer to fresh allocated data or NULL otherwise