make gcc 2.95.x compatible.
authorkramm <kramm>
Mon, 12 Jul 2004 13:07:00 +0000 (13:07 +0000)
committerkramm <kramm>
Mon, 12 Jul 2004 13:07:00 +0000 (13:07 +0000)
src/swfcombine.c

index 5273fb9..403419d 100644 (file)
@@ -507,8 +507,8 @@ void changedepth(TAG*tag, int add)
        PUT16(&tag->data[0],GET16(&tag->data[0])+add);
     if(tag->id == ST_PLACEOBJECT2) {
        SWFPLACEOBJECT obj;
-       swf_SetTagPos(tag, 0);
        U8 flags;
+       swf_SetTagPos(tag, 0);
        flags = swf_GetU8(tag);
        if(flags&2) swf_GetU16(tag); //id
        if(flags&4) swf_GetMatrix(tag, 0);