git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
win32 compile fixes
[swftools.git]
/
lib
/
rfxswf.c
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
ac896f5
..
684c002
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-47,14
+47,15
@@
extern "C" {
#include "lame/lame.h"
#endif
#endif
#include "lame/lame.h"
#endif
#endif
-#ifdef __cplusplus
-}
-#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
+
#include "./bitio.h"
#include "./MD5.h"
#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)
{
void swf_GetGradient(TAG * tag, GRADIENT * gradient, char alpha)
{
- GRADIENT dummy;
int t;
if(!tag) {
memset(gradient, 0, sizeof(GRADIENT));
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*md5string1, *md5string2;
char*x;
- char*md5, *salt;
+ char*salt;
int n;
if(t->len >= 5 && t->pos==0 &&
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;
void swf_FoldSprite(TAG * t)
{
TAG*sprtag=t,*tmp;
- U16 id,frames,tmpid;
+ U16 id,frames;
int level;
if(t->id!=ST_DEFINESPRITE)
return;
int level;
if(t->id!=ST_DEFINESPRITE)
return;