diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-02-25 15:41:45 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-20 08:15:01 +0100 |
commit | 4426540f0c3ee516662f79d0a6ab5b95503b6611 (patch) | |
tree | 296b8f1d98f10ee42f62e2db40382860573981f4 /cmdutils.c | |
parent | 33d18982fa03feb061c8f744a4f0a9175c1f63ab (diff) | |
download | ffmpeg-4426540f0c3ee516662f79d0a6ab5b95503b6611.tar.gz |
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; |