diff options
author | James Almer <jamrial@gmail.com> | 2023-11-13 13:28:46 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-11-14 14:26:42 -0300 |
commit | b360c917523ea4a896285160db4b20c695145fc2 (patch) | |
tree | 2b07670ea7c9ed9b367b7195eb3c03e2358eeb64 | |
parent | a1a6a328f0f58af23c174828775754b28ac64b2d (diff) | |
download | ffmpeg-b360c917523ea4a896285160db4b20c695145fc2.tar.gz |
avcodec/codecpar: mention how to allocate coded_side_data
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/codec_par.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |