[FFmpeg-devel] [PATCH v2 4/4] avcodec/avcodec.h: document add/new_side_data with the same type
quinkblack at foxmail.com
quinkblack at foxmail.com
Fri Nov 1 14:03:14 EET 2019
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavcodec/avcodec.h | 4 ++++
1 file changed, 4 insertions(+)
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()
--
2.22.0
More information about the ffmpeg-devel
mailing list