| 3687 | } |
| 3688 | |
| 3689 | const 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 | |
| 3703 | fail: |
| 3704 | return NULL; |
| 3705 | } |
| 3706 | |
| 3707 | const char* hb_container_sanitize_name(const char *name) |
| 3708 | { |
nothing calls this directly
no test coverage detected