Function rsmpeg::ffi::av_stream_add_side_data[][src]

pub unsafe extern "C" fn av_stream_add_side_data(
    st: *mut AVStream,
    type_: u32,
    data: *mut u8,
    size: u32
) -> i32
Expand description

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.