From 4baf17764da9bb0c9939d5c0975f45ee7fa6de4e Mon Sep 17 00:00:00 2001 From: "[d.j.a.y] Jerome Blanchi" Date: Sat, 30 Jul 2016 15:45:37 +0200 Subject: [PATCH] Libvje / refactor : rotozoom (fix) * clean headers --- .../veejay-server/libvje/effects/rotozoom.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/veejay-current/veejay-server/libvje/effects/rotozoom.c b/veejay-current/veejay-server/libvje/effects/rotozoom.c index 55a5e217..175f46ce 100644 --- a/veejay-current/veejay-server/libvje/effects/rotozoom.c +++ b/veejay-current/veejay-server/libvje/effects/rotozoom.c @@ -19,14 +19,9 @@ */ /* distortion effects */ -#include -#include -#include -#include -#include +#include "common.h" #include #include "rotozoom.h" -#include "common.h" static int *test_roto[9]; static int *test_roto2[9]; @@ -226,9 +221,9 @@ static void rotozoom1_apply(VJFrame *frame, uint8_t *data[3], int w, int h, void rotozoom_apply( VJFrame *frame, int mode, int rotate, int zoom, int autom) { - int width = frame->width; - int height = frame->height; - const int len = frame->len; + const unsigned int width = frame->width; + const unsigned int height = frame->height; + const unsigned int len = frame->len; int strides[4] = {len ,len ,len ,0}; switch (autom) { /* alas must do memcpy */ case 0: