Currently it would incorrectly trigger on a string that contains a '=' but does not contain a ':', e.g. flags=<flags>.
Unified · Split
| @@ -555,7 +555,7 @@ int avfilter_init_str(AVFilterContext *filter, const char *args) · 554 unmodified lines | |||
| 555 | 555 | ||
| 556 | #if FF_API_OLD_FILTER_OPTS | 556 | #if FF_API_OLD_FILTER_OPTS |
| 557 | if (!strcmp(filter->filter->name, "scale") && | 557 | if (!strcmp(filter->filter->name, "scale") && |
| 558 | strchr(args, ':') < strchr(args, '=')) { | 558 | strchr(args, ':') && strchr(args, ':') < strchr(args, '=')) { |
| 559 | /* old w:h:flags=<flags> syntax */ | 559 | /* old w:h:flags=<flags> syntax */ |
| 560 | char *copy = av_strdup(args); | 560 | char *copy = av_strdup(args); |
| 561 | char *p; | 561 | char *p; |