@@ -2162,6 +2162,8 @@ AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c);
/**
* Wrap an existing array as stream side data.
*
+ * @note replace existing side data of the same type
+ *
* @param st stream
* @param type side information type
* @param data the side data array. It must be allocated with the av_malloc()
@@ -2177,6 +2179,8 @@ int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type,
/**
* Allocate new information from stream.
*
+ * @note replace existing side data of the same type
+ *
* @param stream stream
* @param type desired side information type
* @param size side information size
From: Zhao Zhili <zhilizhao@tencent.com> --- libavformat/avformat.h | 4 ++++ 1 file changed, 4 insertions(+)