Update ChangeLog and fix license for blur and wave filters
[melted] / src / modules / core / filter_wave.c
index f3c14e1..0cb8664 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * wave.c -- wave filter
+ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
  * Author: Leny Grisel <leny.grisel@laposte.net>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -26,7 +27,7 @@
 #include <math.h>
 
 // this is a utility function used by DoWave below
-uint8_t getPoint(uint8_t *src, int w, int h, int x, int y, int z)
+static uint8_t getPoint(uint8_t *src, int w, int h, int x, int y, int z)
 {
        if (x<0) x+=-((-x)%w)+w; else if (x>=w) x=x%w;
        if (y<0) y+=-((-y)%h)+h; else if (y>=h) y=y%h;
@@ -34,7 +35,7 @@ uint8_t getPoint(uint8_t *src, int w, int h, int x, int y, int z)
 }
 
 // the main meat of the algorithm lies here
-void DoWave(uint8_t *src, int src_w, int src_h, uint8_t *dst, mlt_position position, int speed, int factor, int deformX, int deformY)
+static void DoWave(uint8_t *src, int src_w, int src_h, uint8_t *dst, mlt_position position, int speed, int factor, int deformX, int deformY)
 {
        register int x, y;
        int decalY, decalX, z;