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

Function new_data_packet

libavformat/mpegts.c:1022–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020}
1021
1022static void new_data_packet(const uint8_t *buffer, int len, AVPacket *pkt)
1023{
1024 av_packet_unref(pkt);
1025 pkt->data = (uint8_t *)buffer;
1026 pkt->size = len;
1027}
1028
1029static int new_pes_packet(PESContext *pes, AVPacket *pkt)
1030{

Callers 2

scte_data_cbFunction · 0.85
eit_cbFunction · 0.85

Calls 1

av_packet_unrefFunction · 0.85

Tested by

no test coverage detected