Function av_stream_new_side_data

pub unsafe extern "C" fn av_stream_new_side_data(
    stream: *mut AVStream,
    type_: AVPacketSideDataType,
    size: usize,
) -> *mut u8
Available on crate feature dep_ffmpeg only.
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”