svnno****@sourc*****
svnno****@sourc*****
2011年 3月 11日 (金) 09:59:54 JST
Revision: 415 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=415 Author: yoya Date: 2011-03-11 09:59:54 +0900 (Fri, 11 Mar 2011) Log Message: ----------- swf_tag_replace_cid の成功/失敗のチェック Modified Paths: -------------- trunk/src/swf_object.c -------------- next part -------------- Modified: trunk/src/swf_object.c =================================================================== --- trunk/src/swf_object.c 2011-03-10 16:23:36 UTC (rev 414) +++ trunk/src/swf_object.c 2011-03-11 00:59:54 UTC (rev 415) @@ -1062,7 +1062,10 @@ to_cid = cid; } if (cid != to_cid) { - swf_tag_replace_cid(tag, to_cid); + if (swf_tag_replace_cid(tag, to_cid)) { + fprintf(stderr, "swf_object_replace_movieclip: swf_tag_replace_cid %d => %d failed\n", cid, to_cid); + // no stop + } } } if (isShapeTag(tag_no)) { @@ -1075,7 +1078,7 @@ swf_tag_sprite_detail_t *s; s = swf_tag_create_input_detail(tag, swf); if (s == NULL) { - fprintf(stderr, "swf_object_replace_movieclip: s swf_tag_create_input_detail failed"); + fprintf(stderr, "swf_object_replace_movieclip: s swf_tag_create_input_detail failed\n"); } // 未使用 trans_table_replace_refcid_recursive(s->tag, cid_trans_table);