From 412dafd400426ed51e0ae04383aaeb2f21399df6 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 20 Aug 2008 22:07:19 +0000 Subject: [PATCH] * median.c: oops, removed old debugging hack from pipi_median(). git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2748 92316355-f0b4-4df1-b90c-862c8a59935f --- pipi/filter/median.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipi/filter/median.c b/pipi/filter/median.c index e338552..f74191e 100644 --- a/pipi/filter/median.c +++ b/pipi/filter/median.c @@ -130,7 +130,7 @@ pipi_image_t *pipi_median_ext(pipi_image_t *src, int rx, int ry) /* Store the median value */ if(gray) { - dstdata[y * w + x] = list[0 * size / 2]; + dstdata[y * w + x] = list[size / 2]; } else {