MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_packet_get_side_data

Function av_packet_get_side_data

libavcodec/packet.c:252–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252uint8_t *av_packet_get_side_data(const AVPacket *pkt, enum AVPacketSideDataType type,
253 size_t *size)
254{
255 int i;
256
257 for (i = 0; i < pkt->side_data_elems; i++) {
258 if (pkt->side_data[i].type == type) {
259 if (size)
260 *size = pkt->side_data[i].size;
261 return pkt->side_data[i].data;
262 }
263 }
264 if (size)
265 *size = 0;
266 return NULL;
267}
268
269const char *av_packet_side_data_name(enum AVPacketSideDataType type)
270{

Callers 15

ff_decklink_read_packetFunction · 0.85
construct_ccFunction · 0.85
construct_afdFunction · 0.85
flush_packetFunction · 0.85
rtp_write_packetFunction · 0.85
ogg_check_new_metadataFunction · 0.85
flv_write_packetFunction · 0.85
mp3_write_audio_packetFunction · 0.85
webvtt_write_packetFunction · 0.85
seg_write_packetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected