OSDN Git Service

styles_count を swf オブジェクト(今今は parse context 代り)に保存
authoryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Fri, 15 Oct 2010 15:21:28 +0000 (15:21 +0000)
committeryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Fri, 15 Oct 2010 15:21:28 +0000 (15:21 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@264 7c90b180-03d5-4157-b861-58a559ae9d1e

src/swf_shape_record_setup.c

index 817958f..5794588 100644 (file)
@@ -38,6 +38,7 @@ swf_shape_record_setup_parse(bitstream_t *bs,
             fprintf(stderr, "swf_shape_record_setup_parse: swf_styles_parse failed\n");
             return ret;
         }
+        swf_tag_shape->_current_styles_count = shape_record_setup->styles.styles_count; // XXX
     }
     return 0;
 }