@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.
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.