diff --git a/veejay-current/veejay-server/libvje/effects/reflection.c b/veejay-current/veejay-server/libvje/effects/reflection.c index 5fc1ad5b..045d6a1d 100644 --- a/veejay-current/veejay-server/libvje/effects/reflection.c +++ b/veejay-current/veejay-server/libvje/effects/reflection.c @@ -41,14 +41,9 @@ /* orignal code for RGB, define INTENSITY( r + b + g / 3 ), this effect works in YCbCr space now. */ -#include -#include -#include -#include -#include -#include -#include "reflection.h" #include "common.h" +#include +#include "reflection.h" static short reflect_aSin[2048]; static int reflection_map[2048][256]; @@ -120,8 +115,8 @@ void reflection_apply(VJFrame *frame, int index1, int index2, int move) { unsigned int normalx, normaly, x, y; unsigned int lightx, lighty, temp; - const int width = frame->width; - const int height = frame->height; + const unsigned int width = frame->width; + const unsigned int height = frame->height; int uv_height = frame->uv_height; int uv_width = frame->uv_width; uint8_t *row = frame->data[0] + width + 1;