diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-27 11:17:34 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-27 11:17:34 +0000 |
commit | 6008b5abbb17c747d894edc7f7000da514420398 (patch) | |
tree | 3ddbc03a3086bfba31a2b5034e6f93da72949136 | |
parent | e457f2cf1ff106ee0689ec9b4516bf3afc38c30c (diff) | |
download | ffmpeg-6008b5abbb17c747d894edc7f7000da514420398.tar.gz |
lavfi/format: make use of AVFILTER_DEFINE_CLASS
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/vf_format.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c index c14e12704d..25b3d19952 100644 --- a/libavfilter/vf_format.c +++ b/libavfilter/vf_format.c @@ -109,12 +109,8 @@ static int query_formats_format(AVFilterContext *ctx) return 0; } -static const AVClass format_class = { - .class_name = "format", - .item_name = av_default_item_name, - .option = options, - .version = LIBAVUTIL_VERSION_INT, -}; +#define format_options options +AVFILTER_DEFINE_CLASS(format); static const AVFilterPad avfilter_vf_format_inputs[] = { { @@ -156,12 +152,8 @@ static int query_formats_noformat(AVFilterContext *ctx) return 0; } -static const AVClass noformat_class = { - .class_name = "noformat", - .item_name = av_default_item_name, - .option = options, - .version = LIBAVUTIL_VERSION_INT, -}; +#define noformat_options options +AVFILTER_DEFINE_CLASS(noformat); static const AVFilterPad avfilter_vf_noformat_inputs[] = { { |