mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/bsf: simplify the code
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
35bcbfd6da
commit
56b9130fff
@ -533,11 +533,7 @@ int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf_lst)
|
||||
goto end;
|
||||
}
|
||||
|
||||
while (1) {
|
||||
bsf_str = av_strtok(buf, ",", &saveptr);
|
||||
if (!bsf_str)
|
||||
break;
|
||||
|
||||
while (bsf_str = av_strtok(buf, ",", &saveptr)) {
|
||||
ret = bsf_parse_single(bsf_str, lst);
|
||||
if (ret < 0)
|
||||
goto end;
|
||||
|
Loading…
Reference in New Issue
Block a user