[vlc-commits] Small cleanup.

Rémi Duraffort git at videolan.org
Mon Mar 7 21:18:09 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Mar  7 21:17:54 2011 +0100| [e142a23e5a3d4d2c8602e3e9ef8e3c68274170b1] | committer: Rémi Duraffort

Small cleanup.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e142a23e5a3d4d2c8602e3e9ef8e3c68274170b1
---

 modules/video_filter/grain.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/video_filter/grain.c b/modules/video_filter/grain.c
index 4103ff9..651df6a 100644
--- a/modules/video_filter/grain.c
+++ b/modules/video_filter/grain.c
@@ -367,11 +367,10 @@ static int Callback(vlc_object_t *object, char const *cmd,
 {
     filter_t     *filter = (filter_t *)object;
     filter_sys_t *sys = filter->p_sys;
-    VLC_UNUSED(oldval); VLC_UNUSED(data);
+    VLC_UNUSED(cmd); VLC_UNUSED(oldval); VLC_UNUSED(data);
 
     vlc_mutex_lock(&sys->cfg.lock);
-    //if (!strcmp(cmd, CFG_PREFIX "variance"))
-        sys->cfg.variance = newval.f_float;
+    sys->cfg.variance = newval.f_float;
     vlc_mutex_unlock(&sys->cfg.lock);
 
     return VLC_SUCCESS;



More information about the vlc-commits mailing list