[FFmpeg-devel,v2,3/4] avformat/avformat.h: document add/new_side_data with the same type

Submitted by Zhao Zhili on Nov. 1, 2019, 12:03 p.m.

Details

Message ID 20191101120314.88956-3-quinkblack@foxmail.com
State New
Headers show

Commit Message

Zhao Zhili Nov. 1, 2019, 12:03 p.m.
From: Zhao Zhili <zhilizhao@tencent.com>

---
 libavformat/avformat.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

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