From dfd9708dd5fadd294f43a7c81510f1ee4b0ac6ec Mon Sep 17 00:00:00 2001 From: "[d.j.a.y] Jerome Blanchi" Date: Sat, 30 Jul 2016 16:08:02 +0200 Subject: [PATCH] Libvje / refactor : greyselect (fix) * clean headers --- veejay-current/veejay-server/libvje/effects/greyselect.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/veejay-current/veejay-server/libvje/effects/greyselect.c b/veejay-current/veejay-server/libvje/effects/greyselect.c index 8b66ffcb..9c3bca20 100644 --- a/veejay-current/veejay-server/libvje/effects/greyselect.c +++ b/veejay-current/veejay-server/libvje/effects/greyselect.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 "greyselect.h" vj_effect *greyselect_init(int w, int h) @@ -66,7 +63,7 @@ vj_effect *greyselect_init(int w, int h) void greyselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int swap) { - const int len = frame->len; + const unsigned int len = frame->len; uint8_t *fg_cb, *fg_cr; int accept_angle_tg; int cb, cr;