From 4426540f0c3ee516662f79d0a6ab5b95503b6611 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 25 Feb 2016 15:41:45 +0100 Subject: avconv: switch to the new BSF API --- cmdutils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index 9cfcaa6b55..291365501b 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -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; -- cgit v1.2.3