From 267bc774ecb76aa64088b9b8cb75c54d4df54bf0 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 30 Oct 2014 16:05:14 +0000 Subject: [PATCH] gaudieffects: declare floor and ceiling as constants --- gst/gaudieffects/gstsolarize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 14323cd..fde4c09 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -314,8 +314,8 @@ transform (guint32 * src, guint32 * dest, gint video_area, guint32 in; guint32 color[3]; gint x, c; - gint floor = 0; - gint ceiling = 255; + static const guint floor = 0; + static const guint ceiling = 255; gint period, up_length, down_length, height_scale, param; -- 2.7.4