From b094d5a15575f83e87d828320def3855e19a9098 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 29 Jan 2004 14:53:36 +0000 Subject: [PATCH] fix for flash player 63 byte bug. --- src/png2swf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/png2swf.c b/src/png2swf.c index 5b9a262..2f0c606 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -684,6 +684,10 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id) free(data2); } + while(t->len < 64) { + swf_SetU8(t, 0); //fix for flash player bug- see ../lib/modules/swfbits.c + } + t = swf_InsertTag(t, ST_DEFINESHAPE3); swf_ShapeNew(&s); -- 1.7.10.4