Function av_stream_new_side_data

Source
pub unsafe extern "C" fn av_stream_new_side_data(
    stream: *mut AVStream,
    type_: u32,
    size: usize,
) -> *mut u8
Expand description

Allocate new information from stream.

@param stream stream @param type desired side information type @param size side information size

@return pointer to fresh allocated data or NULL otherwise @deprecated use av_packet_side_data_new() with the stream’s @ref AVCodecParameters.coded_side_data “codecpar side data”