From aeed84bd2773cf730be0c487c535dcc502249f9b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 4 Dec 2013 02:17:19 +0100 Subject: vf_noise: reduce binary size Same issues as in previous commit. --- video/filter/vf_noise.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/video/filter/vf_noise.c b/video/filter/vf_noise.c index 93ab00e6cc..51d10e2f8f 100644 --- a/video/filter/vf_noise.c +++ b/video/filter/vf_noise.c @@ -442,11 +442,8 @@ const vf_info_t vf_info_noise = { .name = "noise", .open = vf_open, .priv_size = sizeof(struct vf_priv_s), - .priv_defaults = &(const struct vf_priv_s){ - .strength = 2, - }, .options = (const struct m_option[]){ - OPT_INTRANGE("strength", strength, 0, 0, 100), + OPT_INTRANGE("strength", strength, 0, 0, 100, OPTDEF_INT(2)), OPT_FLAG("averaged", averaged, 0), OPT_FLAG("pattern", pattern, 0), OPT_FLAG("temporal", temporal, 0), -- cgit v1.2.3