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

Function av_dict_parse_string

libavutil/dict.c:210–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210int av_dict_parse_string(AVDictionary **pm, const char *str,
211 const char *key_val_sep, const char *pairs_sep,
212 int flags)
213{
214 int ret;
215
216 if (!str)
217 return 0;
218
219 /* ignore STRDUP flags */
220 flags &= ~(AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL);
221
222 while (*str) {
223 if ((ret = parse_key_value_pair(pm, &str, key_val_sep, pairs_sep, flags)) < 0)
224 return ret;
225
226 if (*str)
227 str++;
228 }
229
230 return 0;
231}
232
233void av_dict_free(AVDictionary **pm)
234{

Callers 15

mainFunction · 0.85
parse_slave_fifo_optionsFunction · 0.85
rtp_openFunction · 0.85
concat_parse_scriptFunction · 0.85
run_testFunction · 0.85
set_string_dictFunction · 0.85
av_opt_is_set_to_defaultFunction · 0.85
test_separatorsFunction · 0.85
mainFunction · 0.85
of_parse_iamf_submixesFunction · 0.85

Calls 1

parse_key_value_pairFunction · 0.70

Tested by 3

run_testFunction · 0.68
test_separatorsFunction · 0.68
check_scriptFunction · 0.68