]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/f_graphmonitor.c
hwcontext_vulkan: reorder structure fields and add spaces in between
[ffmpeg] / libavfilter / f_graphmonitor.c
index 535e52b48b1cf78934870c86b7ab22f9440f922a..ba17f1f63861e262150a647c852b164078a6d6b7 100644 (file)
@@ -103,7 +103,7 @@ static int query_formats(AVFilterContext *ctx)
     int ret;
 
     AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);
-    if ((ret = ff_formats_ref(fmts_list, &outlink->in_formats)) < 0)
+    if ((ret = ff_formats_ref(fmts_list, &outlink->incfg.formats)) < 0)
         return ret;
 
     return 0;
@@ -393,7 +393,7 @@ static const AVFilterPad graphmonitor_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_graphmonitor = {
+const AVFilter ff_vf_graphmonitor = {
     .name          = "graphmonitor",
     .description   = NULL_IF_CONFIG_SMALL("Show various filtergraph stats."),
     .priv_size     = sizeof(GraphMonitorContext),
@@ -428,7 +428,7 @@ static const AVFilterPad agraphmonitor_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_avf_agraphmonitor = {
+const AVFilter ff_avf_agraphmonitor = {
     .name          = "agraphmonitor",
     .description   = NULL_IF_CONFIG_SMALL("Show various filtergraph stats."),
     .priv_size     = sizeof(GraphMonitorContext),