@@ -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()
From: Zhao Zhili <zhilizhao@tencent.com> --- libavcodec/avcodec.h | 4 ++++ 1 file changed, 4 insertions(+)