Nicolas Cannasse 15 years ago
parent
commit
fb8eeb98cd
1 changed files with 1 additions and 0 deletions
  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) =
 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_version = com.flash_version;
 		h_size = {
 		h_size = {