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

Function hb_audio_dither_get_description

libhb/common.c:2570–2587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2568}
2569
2570const char* hb_audio_dither_get_description(int method)
2571{
2572 if (method < hb_audio_dithers_first_item->method ||
2573 method > hb_audio_dithers_last_item ->method)
2574 goto fail;
2575
2576 const hb_dither_t *audio_dither = NULL;
2577 while ((audio_dither = hb_audio_dither_get_next(audio_dither)) != NULL)
2578 {
2579 if (audio_dither->method == method)
2580 {
2581 return audio_dither->description;
2582 }
2583 }
2584
2585fail:
2586 return NULL;
2587}
2588
2589const hb_dither_t* hb_audio_dither_get_next(const hb_dither_t *last)
2590{

Callers 1

hb_display_job_infoFunction · 0.85

Calls 1

hb_audio_dither_get_nextFunction · 0.85

Tested by

no test coverage detected