| 151 | } |
| 152 | |
| 153 | static 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 |
no test coverage detected