git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
also test whether we can execute the generated file.
[swftools.git]
/
lib
/
h.263
/
swfvideo.c
diff --git
a/lib/h.263/swfvideo.c
b/lib/h.263/swfvideo.c
index
94b3d25
..
679d0b4
100644
(file)
--- a/
lib/h.263/swfvideo.c
+++ b/
lib/h.263/swfvideo.c
@@
-38,8
+38,9
@@
void swf_SetVideoStreamDefine(TAG*tag, VIDEOSTREAM*stream, U16 frames, U16 width
swf_SetU8(tag, 0); /* smoothing off */
swf_SetU8(tag, 2); /* codec = h.263 sorenson spark */
swf_SetU8(tag, 0); /* smoothing off */
swf_SetU8(tag, 2); /* codec = h.263 sorenson spark */
+#ifdef MAIN
totalframes = frames;
totalframes = frames;
-
+#endif
memset(stream, 0, sizeof(VIDEOSTREAM));
stream->olinex = width;
width+=15;width&=~15;
memset(stream, 0, sizeof(VIDEOSTREAM));
stream->olinex = width;
width+=15;width&=~15;