swf_GetBBox() now returns a zeroed out bbox if the tag doesn't have a bbox.
authorkramm <kramm>
Sat, 18 Dec 2004 16:54:06 +0000 (16:54 +0000)
committerkramm <kramm>
Sat, 18 Dec 2004 16:54:06 +0000 (16:54 +0000)
lib/modules/swftools.c

index 29b3631..5526d31 100644 (file)
@@ -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);