]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
testprogs: Mark some tables as static const
[ffmpeg] / cmdutils.c
index 9cfcaa6b55ce13b834f95543e9ccea1482b1044f..291365501b54c4c45c020f87909f926f31d94ce3 100644 (file)
@@ -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;