X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Frfxswf.c;h=684c00209d244454e4693c8a99c66ca553183508;hp=ac896f58c5255fc46016ead7cfe28c78e7b6edc1;hb=0784a8a882e7b98299fb6a90f0f9a7ebb322562b;hpb=b45b5defe54796c142c1527cff5f31bc0b572d08 diff --git a/lib/rfxswf.c b/lib/rfxswf.c index ac896f5..684c002 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -47,14 +47,15 @@ extern "C" { #include "lame/lame.h" #endif #endif -#ifdef __cplusplus -} -#endif #ifdef HAVE_TIME_H #include #endif +#ifdef HAVE_IO_H +#include +#endif + #include "./bitio.h" #include "./MD5.h" @@ -337,7 +338,6 @@ void swf_GetRGBA(TAG * t, RGBA * col) void swf_GetGradient(TAG * tag, GRADIENT * gradient, char alpha) { - GRADIENT dummy; int t; if(!tag) { memset(gradient, 0, sizeof(GRADIENT)); @@ -771,7 +771,7 @@ int swf_VerifyPassword(TAG * t, const char * password) { char*md5string1, *md5string2; char*x; - char*md5, *salt; + char*salt; int n; if(t->len >= 5 && t->pos==0 && @@ -1071,7 +1071,7 @@ void swf_UnFoldSprite(TAG * t) void swf_FoldSprite(TAG * t) { TAG*sprtag=t,*tmp; - U16 id,frames,tmpid; + U16 id,frames; int level; if(t->id!=ST_DEFINESPRITE) return;