From 5f76f7c56252fe33e34654a646076975f1dd48cc Mon Sep 17 00:00:00 2001 From: "[d.j.a.y] Jerome Blanchi" Date: Sun, 31 Jul 2016 13:55:21 +0200 Subject: [PATCH] Libvje / refactor : complexthreshold (fix) * clean headers --- .../veejay-server/libvje/effects/complexthreshold.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/veejay-current/veejay-server/libvje/effects/complexthreshold.c b/veejay-current/veejay-server/libvje/effects/complexthreshold.c index a923635e..781fde19 100644 --- a/veejay-current/veejay-server/libvje/effects/complexthreshold.c +++ b/veejay-current/veejay-server/libvje/effects/complexthreshold.c @@ -17,12 +17,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA. */ -#include -#include -#include -#include -#include + #include "common.h" +#include #include "complexthreshold.h" //FIXME: rewrite this FX @@ -108,8 +105,8 @@ void complexthreshold_apply(VJFrame *frame, VJFrame *frame2, int i_angle, unsigned int pos; int matrix[5]; int val, tmp1; - const int len = frame->len; - const int width = frame->width; + const unsigned int len = frame->len; + const unsigned int width = frame->width; uint8_t *Y = frame->data[0]; uint8_t *Cb = frame->data[1]; uint8_t *Cr = frame->data[2];