| 624 | } |
| 625 | |
| 626 | static const AVOption* find_opt(void *obj, const char *name, size_t len) |
| 627 | { |
| 628 | char decoded_name[128]; |
| 629 | |
| 630 | if (ff_urldecode_len(decoded_name, sizeof(decoded_name), name, len, 1) < 0) |
| 631 | return NULL; |
| 632 | |
| 633 | return av_opt_find(obj, decoded_name, NULL, 0, 0); |
| 634 | } |
| 635 | |
| 636 | int ff_parse_opts_from_query_string(void *obj, const char *str, int allow_unknown) |
| 637 | { |
no test coverage detected