You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
committed by
Marton Balint
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;
|
||||
|
Reference in New Issue
Block a user