X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfc.c;h=93a7569f0e85d69e416a36b96f86d93aafd97a3a;hb=8b0e97dc465a439ccaabd56f9162055f8bff7b1b;hp=c2de7dedc22bccf756bb56345cea543614531af9;hpb=ccc5f82c2bb8e14ff3941d862e0e5a6feb722201;p=swftools.git diff --git a/src/swfc.c b/src/swfc.c index c2de7de..93a7569 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -1316,7 +1316,7 @@ void s_includeswf(char*name, char*filename) s = tag = swf_InsertTag(tag, ST_DEFINESPRITE); swf_SetU16(tag, id); - swf_SetU16(tag, 0); + swf_SetU16(tag, swf.frameCount); swf_Relocate(&swf, idmap);