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

Function lang_for_index

libhb/lang.c:253–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253const iso639_lang_t * lang_for_index( int index )
254{
255 if (index == -1)
256 return &lang_any;
257
258 if (index < 0 || index >= lang_count)
259 return NULL;
260
261 return &languages[index];
262}
263
264iso639_lang_t * lang_for_code( int code )
265{

Callers 2

lang_lookupFunction · 0.85
ghb_iso639_lookup_by_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected