git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shell script to make a shared librfxswf.
[swftools.git]
/
lib
/
rfxswf.c
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
5fdc4c7
..
127984c
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-31,6
+31,9
@@
#endif // HAVE_ZLIB_H
#endif // HAVE_LIBZ
#endif // HAVE_ZLIB_H
#endif // HAVE_LIBZ
+#define LAME
+#include "lame/lame.h"
+
#include "./bitio.h"
// internal constants
#include "./bitio.h"
// internal constants
@@
-747,6
+750,10
@@
void swf_FoldSprite(TAG * t)
fprintf(stderr, "Error: Sprite has no ID!");
return;
}
fprintf(stderr, "Error: Sprite has no ID!");
return;
}
+ if(t->len>4) {
+ /* sprite is already folded */
+ return;
+ }
t->pos = 0;
id = swf_GetU16(t);
t->pos = 0;
id = swf_GetU16(t);