diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-26 19:31:35 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-27 09:55:40 +0000 |
commit | 11cdf9671f8c016f22cf4f49ae30fe22f80f75c6 (patch) | |
tree | c21694e99df73fc23d5955df6857b52d1d5222df /libavfilter/trim.c | |
parent | 68def27124aef37469e18eba411b4df64233a301 (diff) | |
download | ffmpeg-11cdf9671f8c016f22cf4f49ae30fe22f80f75c6.tar.gz |
lavfi/trim: make use of AVFILTER_DEFINE_CLASS
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/trim.c')
-rw-r--r-- | libavfilter/trim.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libavfilter/trim.c b/libavfilter/trim.c index 384028d782..96c30b4d76 100644 --- a/libavfilter/trim.c +++ b/libavfilter/trim.c @@ -188,12 +188,7 @@ static const AVOption trim_options[] = { }; #undef FLAGS -static const AVClass trim_class = { - .class_name = "trim", - .item_name = av_default_item_name, - .option = trim_options, - .version = LIBAVUTIL_VERSION_INT, -}; +AVFILTER_DEFINE_CLASS(trim); static const AVFilterPad trim_inputs[] = { { @@ -350,12 +345,7 @@ static const AVOption atrim_options[] = { }; #undef FLAGS -static const AVClass atrim_class = { - .class_name = "atrim", - .item_name = av_default_item_name, - .option = atrim_options, - .version = LIBAVUTIL_VERSION_INT, -}; +AVFILTER_DEFINE_CLASS(atrim); static const AVFilterPad atrim_inputs[] = { { |