|
@@ -130,7 +130,7 @@ pipi_image_t *pipi_median_ext(pipi_image_t *src, int rx, int ry) |
|
|
/* Store the median value */ |
|
|
/* Store the median value */ |
|
|
if(gray) |
|
|
if(gray) |
|
|
{ |
|
|
{ |
|
|
dstdata[y * w + x] = list[0 * size / 2]; |
|
|
|
|
|
|
|
|
dstdata[y * w + x] = list[size / 2]; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|