summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-04 02:17:19 +0100
committerwm4 <wm4@nowhere>2013-12-04 02:17:19 +0100
commitaeed84bd2773cf730be0c487c535dcc502249f9b (patch)
tree6c4ad9ac51cbf3b9d11a35791e472333dc0af41a /video
parent0c2a0a67b611ee87280bbdd8dc7e5f8179a97f56 (diff)
downloadmpv-aeed84bd2773cf730be0c487c535dcc502249f9b.tar.bz2
mpv-aeed84bd2773cf730be0c487c535dcc502249f9b.tar.xz
vf_noise: reduce binary size
Same issues as in previous commit.
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_noise.c5
1 files changed, 1 insertions, 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),