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

Function hb_list_init

libhb/common.c:4102–4111  ·  view source on GitHub ↗

* hb_list_init ********************************************************************** * Allocates an empty list ready for HB_LIST_DEFAULT_SIZE items *********************************************************************/

Source from the content-addressed store, hash-verified

4100 * Allocates an empty list ready for HB_LIST_DEFAULT_SIZE items
4101 *********************************************************************/
4102hb_list_t * hb_list_init()
4103{
4104 hb_list_t * l;
4105
4106 l = calloc( sizeof( hb_list_t ), 1 );
4107 l->items = calloc( HB_LIST_DEFAULT_SIZE * sizeof( void * ), 1 );
4108 l->items_alloc = HB_LIST_DEFAULT_SIZE;
4109
4110 return l;
4111}
4112
4113/**********************************************************************
4114 * hb_list_count

Callers 15

encavcodecaInitFunction · 0.85
hb_initFunction · 0.85
hb_get_title_coverartsFunction · 0.85
hb_add_internalFunction · 0.85
hb_batch_initFunction · 0.85
TitleOpenIfoFunction · 0.85
hb_register_hwaccelFunction · 0.85
muxInitFunction · 0.85
hb_json_job_scanFunction · 0.85
encvorbisInitFunction · 0.85
InitAudioFunction · 0.85
InitSubtitleFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68