lavc/bsf: make BSF iteration the same as other iterators

This commit is contained in:
Josh de Kock 2018-02-02 19:25:36 +00:00
parent cdc78058c7
commit 26d879c1ce
4 changed files with 26 additions and 15 deletions

View file

@ -1586,7 +1586,7 @@ int show_bsfs(void *optctx, const char *opt, const char *arg)
void *opaque = NULL;
printf("Bitstream filters:\n");
while ((bsf = av_bsf_next(&opaque)))
while ((bsf = av_bsf_iterate(&opaque)))
printf("%s\n", bsf->name);
printf("\n");
return 0;