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

Function hb_container_get_default_extension

libhb/common.c:3689–3705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3687}
3688
3689const char* hb_container_get_default_extension(int format)
3690{
3691 if (!(format & HB_MUX_MASK))
3692 goto fail;
3693
3694 const hb_container_t *container = NULL;
3695 while ((container = hb_container_get_next(container)) != NULL)
3696 {
3697 if (container->format == format)
3698 {
3699 return container->default_extension;
3700 }
3701 }
3702
3703fail:
3704 return NULL;
3705}
3706
3707const char* hb_container_sanitize_name(const char *name)
3708{

Callers

nothing calls this directly

Calls 1

hb_container_get_nextFunction · 0.85

Tested by

no test coverage detected