History

avcodec/bsf: simplify the code

Limin Wang committed 6 years ago

Commit 56b91301 parent 35bcbfd1 file · +1 −5Browse files

Unified · Split

libavcodec/bsf.c+1−5
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t