Nicolas Cannasse %!s(int64=15) %!d(string=hai) anos
pai
achega
fb8eeb98cd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 = {