summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-15 23:59:47 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-16 22:15:24 +0200
commitba32afd70eaaffd089d4defebb21376259ae6fa4 (patch)
tree177038f2dcbf02d11a2ef0bc4690ee48c464d3a6 /libavfilter
parentbec402b502dfa70caf75e604bbc26ffb4ac976b5 (diff)
downloadffmpeg-streaming-ba32afd70eaaffd089d4defebb21376259ae6fa4.zip
ffmpeg-streaming-ba32afd70eaaffd089d4defebb21376259ae6fa4.tar.gz
lavfi/split: use AVFILTER_DEFINE_CLASS to define class
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/split.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/libavfilter/split.c b/libavfilter/split.c
index 6a52073..251ea2e 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -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[] = {
{
OpenPOWER on IntegriCloud