|
From: | sunny |
Subject: | [Swftools-common] a bug about swfextract |
Date: | Wed, 19 Oct 2005 15:52:04 +0800 |
Dear Sir or Madam: It seems that there
is a bug in swftools.c (line 489, under swftools- case
ST_DEFINEBUTTONCXFORM: { //
the operation for case ST_DEFINEBUTTONCXFORM
is not correct. int
t; callback(tag,
tag->pos + base, callback_data); for(t=0;t<4;t++)
{ int flags; callback(tag, tag->pos + base, callback_data); swf_GetU16(tag); //sound id flags = swf_GetU8(tag); if(flags&1) swf_GetU32(tag);
// in point if(flags&2) swf_GetU32(tag);
// out points if(flags&4) swf_GetU16(tag);
// loop count if(flags&8) { int
npoints = swf_GetU8(tag); int
s; for(s=0;s<npoints;s++) { swf_GetU32(tag); swf_GetU16(tag); swf_GetU16(tag); } } } }
break; Best wishes, Sunny |
[Prev in Thread] | Current Thread | [Next in Thread] |