X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fh.263%2Fswfvideo.c;h=679d0b44d9a19163efbf0f481019d19166bac947;hb=7729deb8d1fe947c8d0af89cb5368c7e0f8e7990;hp=94b3d254d3da8211658226eae960198cb536698f;hpb=6da849f3320df43086c3d3cc01b162ea9c7dc847;p=swftools.git 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;