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

Function lang_list_remove

test/test.c:854–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852}
853
854static void lang_list_remove(hb_value_array_t *list, const char *lang)
855{
856 int count = hb_value_array_len(list);
857 int ii;
858 for (ii = count - 1; ii >= 0; ii--)
859 {
860 const char *tmp = hb_value_get_string(hb_value_array_get(list, ii));
861 if (!strncmp(lang, tmp, 4))
862 hb_value_array_remove(list, ii);
863 }
864}
865
866static void show_progress_json(hb_state_t * state)
867{

Callers 1

PreparePresetFunction · 0.85

Calls 4

hb_value_array_lenFunction · 0.85
hb_value_get_stringFunction · 0.85
hb_value_array_getFunction · 0.85
hb_value_array_removeFunction · 0.85

Tested by

no test coverage detected