av_stream_add_side_data

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.

extern (C) @nogc nothrow
int
av_stream_add_side_data
(,
AVPacketSideDataType type
,
ubyte* data
,
size_t size
)

Meta