Nicolas Cannasse 15 년 전
부모
커밋
fb8eeb98cd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      genswf.ml

+ 1 - 0
genswf.ml

@@ -158,6 +158,7 @@ let tag ?(ext=false) d = {
 }
 
 let convert_header com (w,h,fps,bg) =
+	if max w h >= 1639 then failwith "-swf-header : size too large";
 	{
 		h_version = com.flash_version;
 		h_size = {