OSDN Git Service

replaceShapeData で Shape に Shape2 データを渡した場合の場当たり対処 (傷を広げる心配があるので、とりあえずコメントアウト)
authoryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Fri, 1 Apr 2011 09:36:29 +0000 (09:36 +0000)
committeryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Fri, 1 Apr 2011 09:36:29 +0000 (09:36 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@499 7c90b180-03d5-4157-b861-58a559ae9d1e

src/swf_object.c

index 818be6e..35763a7 100644 (file)
@@ -475,6 +475,9 @@ swf_object_replace_shapedata(swf_object_t *swf, int cid,
             free(tag->data);
             tag->data = NULL;
         }
+       //    if (tag->tag == 2) { // DefineShape
+       //        tag->tag = 22;   // => DefineShape2
+       //    }
         tag->length = length + 2;
         tag->data = malloc(length + 2);
         PutUShortLE(tag->data, cid);