| 587 | } |
| 588 | |
| 589 | static const AVOption *opt_find(void *obj, const char *name, const char *unit, |
| 590 | int opt_flags, int search_flags) |
| 591 | { |
| 592 | const AVOption *o = av_opt_find(obj, name, unit, opt_flags, search_flags); |
| 593 | if(o && !o->flags) |
| 594 | return NULL; |
| 595 | return o; |
| 596 | } |
| 597 | |
| 598 | #define FLAGS ((o->type == AV_OPT_TYPE_FLAGS && (arg[0]=='-' || arg[0]=='+')) ? AV_DICT_APPEND : 0) |
| 599 | int opt_default(void *optctx, const char *opt, const char *arg) |
no test coverage detected