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

Function current_segment

libavformat/hls.c:1127–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125}
1126
1127static struct segment *current_segment(struct playlist *pls)
1128{
1129 int64_t n = pls->cur_seq_no - pls->start_seq_no;
1130 if (n >= pls->n_segments)
1131 return NULL;
1132 return pls->segments[n];
1133}
1134
1135static struct segment *next_segment(struct playlist *pls)
1136{

Callers 6

intercept_id3Function · 0.85
read_data_continuousFunction · 0.85
init_subtitle_contextFunction · 0.85
hls_read_headerFunction · 0.85
hls_read_packetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected