aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_framepack.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-07-02 09:49:26 +0000
committerPaul B Mahol <onemda@gmail.com>2015-07-02 15:36:00 +0000
commit7ff5a345a46eb76c6acfb9368a1eaec5688b3221 (patch)
tree63e6fec949db6b9f47f5f31d548c3b9c6f961cfc /libavfilter/vf_framepack.c
parent6e5864ab294c45814e6d417546f885a0c7dfb7cc (diff)
downloadffmpeg-7ff5a345a46eb76c6acfb9368a1eaec5688b3221.tar.gz
avfilter: use AVFILTER_DEFINE_CLASS()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_framepack.c')
-rw-r--r--libavfilter/vf_framepack.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index e9b9ed1362..be85f85cf9 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -315,7 +315,7 @@ static int request_frame(AVFilterLink *outlink)
#define OFFSET(x) offsetof(FramepackContext, x)
#define V AV_OPT_FLAG_VIDEO_PARAM
-static const AVOption options[] = {
+static const AVOption framepack_options[] = {
{ "format", "Frame pack output format", OFFSET(format), AV_OPT_TYPE_INT,
{ .i64 = AV_STEREO3D_SIDEBYSIDE }, 0, INT_MAX, .flags = V, .unit = "format" },
{ "sbs", "Views are packed next to each other", 0, AV_OPT_TYPE_CONST,
@@ -331,12 +331,7 @@ static const AVOption options[] = {
{ NULL },
};
-static const AVClass framepack_class = {
- .class_name = "framepack",
- .item_name = av_default_item_name,
- .option = options,
- .version = LIBAVUTIL_VERSION_INT,
-};
+AVFILTER_DEFINE_CLASS(framepack);
static const AVFilterPad framepack_inputs[] = {
{