]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
build: Detect blocks C language extension and add it as VDA dependency
[ffmpeg] / cmdutils.c
index 3bafb10221adeb4b967196de082b5c85867d2013..b0445eb85b1b649574b1336bce68aa93cd9367dd 100644 (file)
@@ -58,7 +58,7 @@
 struct SwsContext *sws_opts;
 AVDictionary *format_opts, *codec_opts, *resample_opts;
 
-static const int this_year = 2015;
+static const int this_year = 2017;
 
 void init_opts(void)
 {
@@ -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;