| 3651 | } |
| 3652 | |
| 3653 | const char* hb_container_get_short_name(int format) |
| 3654 | { |
| 3655 | if (!(format & HB_MUX_MASK)) |
| 3656 | goto fail; |
| 3657 | |
| 3658 | const hb_container_t *container = NULL; |
| 3659 | while ((container = hb_container_get_next(container)) != NULL) |
| 3660 | { |
| 3661 | if (container->format == format) |
| 3662 | { |
| 3663 | return container->short_name; |
| 3664 | } |
| 3665 | } |
| 3666 | |
| 3667 | fail: |
| 3668 | return NULL; |
| 3669 | } |
| 3670 | |
| 3671 | const char* hb_container_get_long_name(int format) |
| 3672 | { |
no test coverage detected