git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@244
7c90b180-03d5-4157-b861-
58a559ae9d1e
int
swf_shape_with_style_build(bitstream_t *bs, swf_shape_with_style_t *shape_with_style, swf_tag_t *tag) {
- swf_styles_build(bs, &(shape_with_style->styles), tag);
- swf_shape_record_build(bs, &(shape_with_style->shape_records), tag);
+ int ret;
+ ret = swf_styles_build(bs, &(shape_with_style->styles), tag);
+ if (ret) {
+ return ret;
+ }
+ ret = swf_shape_record_build(bs, &(shape_with_style->shape_records), tag);
+ if (ret) {
+ return ret;
+ }
return 0;
}