avcodec/codecpar: mention how to allocate coded_side_data

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2023-11-13 13:28:46 -03:00
parent a1a6a328f0
commit b360c91752
1 changed files with 3 additions and 0 deletions

View File

@ -219,6 +219,9 @@ typedef struct AVCodecParameters {
/** /**
* Additional data associated with the entire stream. * 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; AVPacketSideData *coded_side_data;