From 57df39147de50f2c99b538a3d0f9429fb5a35594 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Mon, 31 Aug 2015 13:26:14 -0400 Subject: [PATCH] video_filter: gradfun: use C99 declarations --- modules/video_filter/gradfun.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/video_filter/gradfun.h b/modules/video_filter/gradfun.h index 7094c6d90b..9edaf66152 100644 --- a/modules/video_filter/gradfun.h +++ b/modules/video_filter/gradfun.h @@ -54,8 +54,7 @@ static const uint16_t __attribute__((aligned(16))) dither[8][8] = { static void filter_line_c(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers) { - int x; - for (x=0; x> 16; @@ -69,10 +68,10 @@ static void filter_line_c(uint8_t *dst, uint8_t *src, uint16_t *dc, static void blur_line_c(uint16_t *dc, uint16_t *buf, uint16_t *buf1, uint8_t *src, int sstride, int width) { - int x, v, old; - for (x=0; x