fixed blank frame bug.
authorkramm <kramm>
Mon, 27 Sep 2004 09:59:20 +0000 (09:59 +0000)
committerkramm <kramm>
Mon, 27 Sep 2004 09:59:20 +0000 (09:59 +0000)
pdf2swf/swfoutput.cc

index 797488f..5d1c10f 100644 (file)
@@ -1339,7 +1339,8 @@ static void endpage(struct swfoutput*obj)
 static int firstpage = 1;
 void swfoutput_newpage(struct swfoutput*obj, int pageNum, int x1, int y1, int x2, int y2)
 {
-    endpage(obj);
+    if(!firstpage)
+        endpage(obj);
 
     for(depth--;depth>=startdepth;depth--) {
         tag = swf_InsertTag(tag,ST_REMOVEOBJECT2);