gimp r25850 - in trunk: . plug-ins/common
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25850 - in trunk: . plug-ins/common
- Date: Thu, 29 May 2008 07:09:57 +0000 (UTC)
Author: neo
Date: Thu May 29 07:09:57 2008
New Revision: 25850
URL: http://svn.gnome.org/viewvc/gimp?rev=25850&view=rev
Log:
2008-05-29 Sven Neumann <sven gimp org>
* plug-ins/common/blur-gauss-selective.c (matrixmult_mmx): avoid
division by zero in the grayscale code path (bug #529280).
Modified:
trunk/ChangeLog
trunk/plug-ins/common/blur-gauss-selective.c
Modified: trunk/plug-ins/common/blur-gauss-selective.c
==============================================================================
--- trunk/plug-ins/common/blur-gauss-selective.c (original)
+++ trunk/plug-ins/common/blur-gauss-selective.c Thu May 29 07:09:57 2008
@@ -454,7 +454,8 @@
fr += d * (gushort) rowfact;
}
- dest[dix] = r / fr;
+ if (fr)
+ dest[dix] = r / fr;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]