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

Function hb_chapter_queue_close

libhb/common.c:6990–7007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6988}
6989
6990void hb_chapter_queue_close(hb_chapter_queue_t **_q)
6991{
6992 hb_chapter_queue_t * q = *_q;
6993 hb_chapter_queue_item_t * item;
6994
6995 if (q == NULL)
6996 {
6997 return;
6998 }
6999 while ((item = hb_list_item(q->list_chapter, 0)) != NULL)
7000 {
7001 hb_list_rem(q->list_chapter, item);
7002 free(item);
7003 }
7004 hb_list_close(&q->list_chapter);
7005 free(q);
7006 *_q = NULL;
7007}
7008
7009void hb_chapter_enqueue(hb_chapter_queue_t *q, hb_buffer_t *buf)
7010{

Callers 5

encx265CloseFunction · 0.85
encsvtCloseFunction · 0.85
encx264CloseFunction · 0.85
encavcodecCloseFunction · 0.85
encvt_closeFunction · 0.85

Calls 3

hb_list_itemFunction · 0.85
hb_list_remFunction · 0.85
hb_list_closeFunction · 0.85

Tested by

no test coverage detected