]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_shuffleplanes.c
avutil/hwcontext_vulkan: fix format specifiers for some printed variables
[ffmpeg] / libavfilter / vf_shuffleplanes.c
index 6c718893ce55de27421770d4c73eb34efe064919..d1e1d11074c6d140b88a9d9a4756011661ed20df 100644 (file)
@@ -64,7 +64,6 @@ static int query_formats(AVFilterContext *ctx)
             if (i != 4)
                 continue;
             if ((ret = ff_add_format(&formats, fmt)) < 0) {
-                ff_formats_unref(&formats);
                 return ret;
             }
         }
@@ -163,7 +162,7 @@ static const AVFilterPad shuffleplanes_outputs[] = {
     { NULL },
 };
 
-AVFilter ff_vf_shuffleplanes = {
+const AVFilter ff_vf_shuffleplanes = {
     .name         = "shuffleplanes",
     .description  = NULL_IF_CONFIG_SMALL("Shuffle video planes."),
     .priv_size    = sizeof(ShufflePlanesContext),