[−][src]Function ffmpeg_dev::sys::av_stream_add_side_data
pub unsafe extern "C" fn av_stream_add_side_data(
st: *mut AVStream,
type_: AVPacketSideDataType,
data: *mut u8,
size: usize
) -> c_int
Wrap an existing array as stream side data.
@param st stream @param type side information type @param data the side data array. It must be allocated with the av_malloc() family of functions. The ownership of the data is transferred to st. @param size side information size @return zero on success, a negative AVERROR code on failure. On failure, the stream is unchanged and the data remains owned by the caller.