From f64cb56f33e44a91b99838a4e1f2f39f7ef06c39 Mon Sep 17 00:00:00 2001 From: "[d.j.a.y] Jerome Blanchi" Date: Sat, 30 Jul 2016 15:41:41 +0200 Subject: [PATCH] Libvje / refactor : gamma (fix) * clean headers --- veejay-current/veejay-server/libvje/effects/gamma.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) {