MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_buffer_list_rem_head

Function hb_buffer_list_rem_head

libhb/common.c:3908–3930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3906}
3907
3908hb_buffer_t* hb_buffer_list_rem_head(hb_buffer_list_t *list)
3909{
3910 if (list == NULL)
3911 {
3912 return NULL;
3913 }
3914 hb_buffer_t *head = list->head;
3915 if (list->head != NULL)
3916 {
3917 if (list->head == list->tail)
3918 {
3919 list->tail = NULL;
3920 }
3921 list->head = list->head->next;
3922 list->count--;
3923 list->size -= head->size;
3924 }
3925 if (head != NULL)
3926 {
3927 head->next = NULL;
3928 }
3929 return head;
3930}
3931
3932hb_buffer_t* hb_buffer_list_rem_tail(hb_buffer_list_t *list)
3933{

Callers 8

mergeSubtitlesFunction · 0.85
sanitizeSubtitleFunction · 0.85
hb_buffer_list_remFunction · 0.85
comb_detect_workFunction · 0.85
splice_discontinuityFunction · 0.85
reader_workFunction · 0.85
filterFrameFunction · 0.85
DecodePreviewsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected