]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/split.c
lavfi/setdar: fix num/den swapping in log message
[ffmpeg] / libavfilter / split.c
index 6a5207397a08815906b089804e4b0cbfc695df21..251ea2e4a3e2fc6abdc3c949945403440b45611d 100644 (file)
@@ -97,19 +97,11 @@ static const AVOption options[] = {
     { NULL },
 };
 
-static const AVClass split_class = {
-    .class_name = "split",
-    .item_name  = av_default_item_name,
-    .option     = options,
-    .version    = LIBAVUTIL_VERSION_INT,
-};
+#define split_options options
+AVFILTER_DEFINE_CLASS(split);
 
-static const AVClass asplit_class = {
-    .class_name = "asplit",
-    .item_name  = av_default_item_name,
-    .option     = options,
-    .version    = LIBAVUTIL_VERSION_INT,
-};
+#define asplit_options options
+AVFILTER_DEFINE_CLASS(asplit);
 
 static const AVFilterPad avfilter_vf_split_inputs[] = {
     {