From 2c304be7c0bd1a137fc8c59c6a1f809198042a2e Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 18 Dec 2004 16:54:06 +0000 Subject: [PATCH] swf_GetBBox() now returns a zeroed out bbox if the tag doesn't have a bbox. --- lib/modules/swftools.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 29b3631..5526d31 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -136,6 +136,7 @@ SRECT swf_GetDefineBBox(TAG * t) U32 oldTagPos; U16 id = 0; SRECT b1,b2; + memset(&b1, 0, sizeof(b1)); oldTagPos = swf_GetTagPos(t); swf_SetTagPos(t,0); -- 1.7.10.4