| 513 | } |
| 514 | |
| 515 | static 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 | |
| 526 | int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf_lst) |
| 527 | { |
no test coverage detected