| 3334 | } |
| 3335 | |
| 3336 | const char* hb_audio_encoder_get_long_name(int encoder) |
| 3337 | { |
| 3338 | if (!(encoder & HB_ACODEC_ANY)) |
| 3339 | goto fail; |
| 3340 | |
| 3341 | const hb_encoder_t *audio_encoder = NULL; |
| 3342 | while ((audio_encoder = hb_audio_encoder_get_next(audio_encoder)) != NULL) |
| 3343 | { |
| 3344 | if (audio_encoder->codec == encoder) |
| 3345 | { |
| 3346 | return audio_encoder->long_name; |
| 3347 | } |
| 3348 | } |
| 3349 | |
| 3350 | fail: |
| 3351 | return NULL; |
| 3352 | } |
| 3353 | |
| 3354 | const char* hb_audio_encoder_sanitize_name(const char *name) |
| 3355 | { |
no test coverage detected