From: kramm Date: Thu, 29 Jan 2004 14:53:36 +0000 (+0000) Subject: fix for flash player 63 byte bug. X-Git-Tag: release-0-5-0~99 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=b094d5a15575f83e87d828320def3855e19a9098 fix for flash player 63 byte bug. --- 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);