diff --git a/veejay-current/veejay-server/libvje/effects/gamma.c b/veejay-current/veejay-server/libvje/effects/gamma.c index 747ee35e..4213fae4 100644 --- a/veejay-current/veejay-server/libvje/effects/gamma.c +++ b/veejay-current/veejay-server/libvje/effects/gamma.c @@ -17,10 +17,8 @@ * 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 "common.h" #include #include "gamma.h" @@ -62,7 +60,8 @@ static void gamma_setup(int width, int height, void gamma_apply(VJFrame *frame, int gamma_value) { - unsigned int i, len = frame->len; + unsigned int i; + const unsigned len = frame->len; uint8_t *Y = frame->data[0]; if (gamma_value != gamma_flag) {