[FFmpeg-devel] [PATCH v2 3/4] avformat/avformat.h: document add/new_side_data with the same type
quinkblack at foxmail.com
quinkblack at foxmail.com
Fri Nov 1 14:03:13 EET 2019
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavformat/avformat.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6eb329f13f..acce242398 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -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
--
2.22.0
More information about the ffmpeg-devel
mailing list