avconv: switch to the new BSF API

This commit is contained in:
Anton Khirnov
2016-02-25 15:41:45 +01:00
parent 33d18982fa
commit 4426540f0c
4 changed files with 129 additions and 51 deletions

View File

@@ -1173,10 +1173,11 @@ int show_encoders(void *optctx, const char *opt, const char *arg)
int show_bsfs(void *optctx, const char *opt, const char *arg)
{
AVBitStreamFilter *bsf = NULL;
const AVBitStreamFilter *bsf = NULL;
void *opaque = NULL;
printf("Bitstream filters:\n");
while ((bsf = av_bitstream_filter_next(bsf)))
while ((bsf = av_bsf_next(&opaque)))
printf("%s\n", bsf->name);
printf("\n");
return 0;