added glow filter
[swftools.git] / lib / modules / swftools.c
index fa0bb19..8ee2001 100644 (file)
@@ -100,6 +100,7 @@ U16 swf_GetDefineID(TAG * t)
     case ST_DEFINESHAPE3:
     case ST_DEFINESHAPE4:
     case ST_DEFINEMORPHSHAPE:
+    case ST_DEFINEMORPHSHAPE2:
     case ST_DEFINEEDITTEXT:
     case ST_DEFINEBITS:
     case ST_DEFINEBITSJPEG2:
@@ -225,6 +226,7 @@ static int swf_definingtagids[] =
  ST_DEFINESHAPE3,
  ST_DEFINESHAPE4,
  ST_DEFINEMORPHSHAPE,
+ ST_DEFINEMORPHSHAPE2,
  ST_DEFINEFONT,
  ST_DEFINEFONT2,
  ST_DEFINEFONT3,
@@ -471,7 +473,6 @@ void enumerateUsedIDs_styles(TAG * tag, void (*callback)(TAG*, int, void*), void
     for(t=0;t<count;t++)
     {
        int type;
-       U8*pos;
        type = swf_GetU8(tag); //type
        DEBUG_ENUMERATE printf("fill style %d) %02x (tagpos=%d)\n", t, type, tag->pos);
        if(type == 0) {
@@ -675,7 +676,6 @@ void enumerateUsedIDs(TAG * tag, int base, void (*callback)(TAG*, int, void*), v
            }
            while(1)
            {
-               U16 charid;
                if(!swf_GetU8(tag)) //flags
                    break; 
                callback(tag, tag->pos + base, callback_data);