ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Nov 13 13:28:46 
2023 -0300| [b360c917523ea4a896285160db4b20c695145fc2] | committer: James Almer

avcodec/codecpar: mention how to allocate coded_side_data

Signed-off-by: James Almer <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b360c917523ea4a896285160db4b20c695145fc2
---

 libavcodec/codec_par.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h
index 64882a9726..f42dd3b1d5 100644
--- a/libavcodec/codec_par.h
+++ b/libavcodec/codec_par.h
@@ -219,6 +219,9 @@ typedef struct AVCodecParameters {
 
     /**
      * Additional data associated with the entire stream.
+     *
+     * Should be allocated with av_packet_side_data_new() or
+     * av_packet_side_data_add(), and will be freed by 
avcodec_parameters_free().
      */
     AVPacketSideData *coded_side_data;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to