From: Zhao Zhili <zhiliz...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".