]> git.sesse.net Git - ffmpeg/blobdiff - fftools/cmdutils.c
avdevice/avdevice: Constify av_*_device_next API
[ffmpeg] / fftools / cmdutils.c
index 822fa8df456b013900ee1692b4ea40112b61206f..4148285971eb049a6e4526801c8b5f076183aeb9 100644 (file)
@@ -2289,7 +2289,7 @@ static int show_sinks_sources_parse_arg(const char *arg, char **dev, AVDictionar
 
 int show_sources(void *optctx, const char *opt, const char *arg)
 {
-    AVInputFormat *fmt = NULL;
+    const AVInputFormat *fmt = NULL;
     char *dev = NULL;
     AVDictionary *opts = NULL;
     int ret = 0;
@@ -2327,7 +2327,7 @@ int show_sources(void *optctx, const char *opt, const char *arg)
 
 int show_sinks(void *optctx, const char *opt, const char *arg)
 {
-    AVOutputFormat *fmt = NULL;
+    const AVOutputFormat *fmt = NULL;
     char *dev = NULL;
     AVDictionary *opts = NULL;
     int ret = 0;