Unified · Split
| @@ -533,11 +533,7 @@ int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf_lst) · 532 unmodified lines | |||
| 533 | goto end; | 533 | goto end; |
| 534 | } | 534 | } |
| 535 | 535 | ||
| 536 | while (1) { | 536 | while (bsf_str = av_strtok(buf, ",", &saveptr)) { |
| 537 | bsf_str = av_strtok(buf, ",", &saveptr); | ||
| 538 | if (!bsf_str) | ||
| 539 | break; | ||
| 540 | |||
| 541 | ret = bsf_parse_single(bsf_str, lst); | 537 | ret = bsf_parse_single(bsf_str, lst); |
| 542 | if (ret < 0) | 538 | if (ret < 0) |
| 543 | goto end; | 539 | goto end; |