diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-02-25 17:41:45 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-20 10:15:01 +0300 |
commit | 4426540f0c3ee516662f79d0a6ab5b95503b6611 (patch) | |
tree | 296b8f1d98f10ee42f62e2db40382860573981f4 /cmdutils.c | |
parent | 33d18982fa03feb061c8f744a4f0a9175c1f63ab (diff) |
avconv: switch to the new BSF API
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |