Check paramters in CombineTransform

svn path=/trunk/; revision=50332
This commit is contained in:
Timo Kreuzer 2011-01-08 19:24:29 +00:00
parent c265d7532b
commit 907aab7488

View file

@ -67,6 +67,9 @@ CombineTransform(
{
XFORM xformTmp;
/* Check paramters */
if (!pxfResult || !pxf1 || !pxf2) return FALSE;
/* Do matrix multiplication */
xformTmp.eM11 = pxf1->eM11 * pxf2->eM11 + pxf1->eM12 * pxf2->eM21;
xformTmp.eM12 = pxf1->eM11 * pxf2->eM12 + pxf1->eM12 * pxf2->eM22;