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