From c8aba9393055c72384c0712be74b12ce01c8d186 Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Sun, 4 May 2003 16:29:23 +0000
Subject: [PATCH] fixed compile bug.

---
 lib/h.263/swfvideo.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/h.263/swfvideo.c b/lib/h.263/swfvideo.c
index 94b3d25..679d0b4 100644
--- 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 */
 
+#ifdef MAIN
     totalframes = frames;
-
+#endif
     memset(stream, 0, sizeof(VIDEOSTREAM));
     stream->olinex = width;
     width+=15;width&=~15;
-- 
1.7.10.4