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

Function bsf_parse_single

libavcodec/bsf.c:515–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515static int bsf_parse_single(char *str, AVBSFList *bsf_lst)
516{
517 char *bsf_name, *bsf_options_str;
518
519 bsf_name = av_strtok(str, "=", &bsf_options_str);
520 if (!bsf_name)
521 return AVERROR(EINVAL);
522
523 return bsf_list_append_internal(bsf_lst, bsf_name, bsf_options_str, NULL);
524}
525
526int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf_lst)
527{

Callers 1

av_bsf_list_parse_strFunction · 0.85

Calls 2

av_strtokFunction · 0.85
bsf_list_append_internalFunction · 0.85

Tested by

no test coverage detected