X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=swfs%2FPreLoaderTemplate.c;fp=swfs%2FPreLoaderTemplate.c;h=fd95b1aaf1b600997ef5978f39e83f67a6bf508d;hp=e99948f5b85e600f053a2b853d01af782c39c050;hb=eed40b7b7e7b51945654ee0d41e09d40510a6e18;hpb=e8458c3ccc1168fc2b40fc851284da352c5405dd diff --git a/swfs/PreLoaderTemplate.c b/swfs/PreLoaderTemplate.c index e99948f..fd95b1a 100644 --- a/swfs/PreLoaderTemplate.c +++ b/swfs/PreLoaderTemplate.c @@ -98,7 +98,7 @@ int main (int argc,char ** argv) tag = swf_InsertTag(tag,ST_END); - f = open("PreLoaderTemplate.swf",O_WRONLY|O_CREAT|O_TRUNC, 0644); + f = open("PreLoaderTemplate.swf",O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644); if FAILED(swf_WriteSWF(f,&swf)) fprintf(stderr,"WriteSWF() failed.\n"); close(f);