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

Function opt_has_arg

fftools/cmdutils.c:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229#endif /* HAVE_COMMANDLINETOARGVW */
230
231static int opt_has_arg(const OptionDef *o)
232{
233 if (o->type == OPT_TYPE_BOOL)
234 return 0;
235 if (o->type == OPT_TYPE_FUNC)
236 return !!(o->flags & OPT_FUNC_ARG);
237 return 1;
238}
239
240static int write_option(void *optctx, const OptionDef *po, const char *opt,
241 const char *arg, const OptionDef *defs)

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected