Handling AVPacketSideData directly, which can used on structs other than
AVPacket.
This will be useful in the following commits.
Signed-off-by: James Almer
---
libavcodec/avpacket.c | 101 ++
libavcodec/packet.h | 96
Quoting James Almer (2023-09-27 15:12:32)
> +static AVPacketSideData *packet_side_data_add(AVPacketSideData **psd, int
> *pnb_sd,
> + enum AVPacketSideDataType type,
> + void *data, size_t size)
> +{
> +A
Handling AVPacketSideData directly, which can used on structs other than
AVPacket.
This will be useful in the following commits.
Signed-off-by: James Almer
---
libavcodec/avpacket.c | 99 +++
libavcodec/packet.h | 96 +