svnno****@sourc*****
svnno****@sourc*****
2009年 6月 10日 (水) 01:25:45 JST
Revision: 155 http://svn.sourceforge.jp/view?root=swfed&view=rev&rev=155 Author: yoya Date: 2009-06-10 01:25:45 +0900 (Wed, 10 Jun 2009) Log Message: ----------- bitstream で bit が取れないタイミングで処理をやめるよう改造 Modified Paths: -------------- trunk/src/swf_fill_style.c -------------- next part -------------- Modified: trunk/src/swf_fill_style.c =================================================================== --- trunk/src/swf_fill_style.c 2009-06-09 16:24:53 UTC (rev 154) +++ trunk/src/swf_fill_style.c 2009-06-09 16:25:45 UTC (rev 155) @@ -51,6 +51,10 @@ int swf_fill_style_print(swf_fill_style_t *fill_style, int indent_depth, swf_tag_t *tag) { + if (fill_style == NULL) { + fprintf(stderr, "swf_fill_style_print: fill_style == NULL\n"); + return 1; + } print_indent(indent_depth); printf("type=0x%02x\n", fill_style->type); switch (fill_style->type) {