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

Function check_options

fftools/cmdutils.c:540–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540static void check_options(const OptionDef *po)
541{
542 while (po->name) {
543 if (po->flags & OPT_PERFILE)
544 av_assert0(po->flags & (OPT_INPUT | OPT_OUTPUT | OPT_DECODER));
545
546 if (po->type == OPT_TYPE_FUNC)
547 av_assert0(!(po->flags & (OPT_FLAG_OFFSET | OPT_FLAG_SPEC)));
548
549 // OPT_FUNC_ARG can only be ser for OPT_TYPE_FUNC
550 av_assert0((po->type == OPT_TYPE_FUNC) || !(po->flags & OPT_FUNC_ARG));
551
552 po++;
553 }
554}
555
556void parse_loglevel(int argc, char **argv, const OptionDef *options)
557{

Callers 1

parse_loglevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected