MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / find_option

Function find_option

fftools/cmdutils.c:153–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static const OptionDef *find_option(const OptionDef *po, const char *name)
154{
155 if (*name == '/')
156 name++;
157
158 while (po->name) {
159 const char *end;
160 if (av_strstart(name, po->name, &end) && (!*end || *end == ':'))
161 break;
162 po++;
163 }
164 return po;
165}
166
167/* _WIN32 means using the windows libc - cygwin doesn't define that
168 * by default. HAVE_COMMANDLINETOARGVW is true on cygwin, while

Callers 4

write_optionFunction · 0.85
parse_optionFunction · 0.85
locate_optionFunction · 0.85
split_commandlineFunction · 0.85

Calls 1

av_strstartFunction · 0.85

Tested by

no test coverage detected