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

Function av_set_options_string

libavutil/opt.c:1821–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1819}
1820
1821int av_set_options_string(void *ctx, const char *opts,
1822 const char *key_val_sep, const char *pairs_sep)
1823{
1824 int ret, count = 0;
1825
1826 if (!opts)
1827 return 0;
1828
1829 while (*opts) {
1830 if ((ret = parse_key_value_pair(ctx, &opts, key_val_sep, pairs_sep)) < 0)
1831 return ret;
1832 count++;
1833
1834 if (*opts)
1835 opts++;
1836 }
1837
1838 return count;
1839}
1840
1841#define WHITESPACES " \n\t\r"
1842

Callers 5

mainFunction · 0.85
mainFunction · 0.85
commandFunction · 0.85

Calls 1

parse_key_value_pairFunction · 0.70

Tested by 2

mainFunction · 0.68
mainFunction · 0.68