[FFmpeg-devel,v2,4/4] avcodec/avcodec.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-4-quinkblack@foxmail.com
State New
Headers show

Commit Message

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

---
 libavcodec/avcodec.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index bcb931f0dd..84dcf52285 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4486,6 +4486,8 @@  void av_free_packet(AVPacket *pkt);
 /**
  * Allocate new information of a packet.
  *
+ * @note replace existing side data of the same type
+ *
  * @param pkt packet
  * @param type side information type
  * @param size side information size
@@ -4497,6 +4499,8 @@  uint8_t* av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type,
 /**
  * Wrap an existing array as a packet side data.
  *
+ * @note replace existing side data of the same type
+ *
  * @param pkt packet
  * @param type side information type
  * @param data the side data array. It must be allocated with the av_malloc()