git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d6d6b
)
O_BINARY
author
kramm
<kramm>
Fri, 4 Apr 2003 16:47:55 +0000
(16:47 +0000)
committer
kramm
<kramm>
Fri, 4 Apr 2003 16:47:55 +0000
(16:47 +0000)
src/swfextract.c
patch
|
blob
|
history
diff --git
a/src/swfextract.c
b/src/swfextract.c
index
35af23f
..
d7cbf10
100644
(file)
--- a/
src/swfextract.c
+++ b/
src/swfextract.c
@@
-363,7
+363,7
@@
void extractTag(SWF*swf, char*filename)
}
desttag = swf_InsertTag(desttag,ST_END);
- f = open(filename, O_TRUNC|O_WRONLY|O_CREAT, 0644);
+ f = open(filename, O_TRUNC|O_WRONLY|O_CREAT|O_BINARY, 0644);
if FAILED(swf_WriteSWF(f,&newswf)) fprintf(stderr,"WriteSWF() failed.\n");
close(f);