[Swfed-svn] swfed-svn [172] swf_fill_style_parse で unknown な type だった場合のエラー処理を追加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 27日 (木) 20:35:33 JST


Revision: 172
          http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=172
Author:   yoya
Date:     2009-08-27 20:35:33 +0900 (Thu, 27 Aug 2009)

Log Message:
-----------
swf_fill_style_parse で unknown な type だった場合のエラー処理を追加

Modified Paths:
--------------
    trunk/src/swf_fill_style.c


-------------- next part --------------
Modified: trunk/src/swf_fill_style.c
===================================================================
--- trunk/src/swf_fill_style.c	2009-07-09 17:04:03 UTC (rev 171)
+++ trunk/src/swf_fill_style.c	2009-08-27 11:35:33 UTC (rev 172)
@@ -21,6 +21,9 @@
       case 0x43: // clipped bitmap fill with hard edges
         swf_fill_style_bitmap_parse(bs, &(fill_style->bitmap), tag);
         break;
+    default:
+        fprintf(stderr, "swf_fill_style_parse: unknown fill_stype->type=%d\n", fill_style->type);
+        return 1;
     }
     return 0;
 }



Swfed-svn メーリングリストの案内
Back to archive index