]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
h264: decouple h264_sei from the h264 decoder
[ffmpeg] / cmdutils.c
index 3bafb10221adeb4b967196de082b5c85867d2013..291365501b54c4c45c020f87909f926f31d94ce3 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 = 2016;
 
 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;