fixed compile bug.
authorkramm <kramm>
Sun, 4 May 2003 16:29:23 +0000 (16:29 +0000)
committerkramm <kramm>
Sun, 4 May 2003 16:29:23 +0000 (16:29 +0000)
lib/h.263/swfvideo.c

index 94b3d25..679d0b4 100644 (file)
@@ -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;