git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a1c2a2
)
moved swf_ResetReadBits from rfxswf.c to rfxswf.h.
author
kramm
<kramm>
Sat, 10 Jul 2004 08:28:08 +0000
(08:28 +0000)
committer
kramm
<kramm>
Sat, 10 Jul 2004 08:28:08 +0000
(08:28 +0000)
lib/rfxswf.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
9b3c51e
..
e7cb0d8
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-65,11
+65,6
@@
U32 swf_GetTagLen(TAG * t) { return t->len; }
U8* swf_GetTagLenPtr(TAG * t) { return &(t->data[t->len]); }
U32 swf_GetTagPos(TAG * t) { return t->pos; }
U8* swf_GetTagLenPtr(TAG * t) { return &(t->data[t->len]); }
U32 swf_GetTagPos(TAG * t) { return t->pos; }
-// Basic Data Access Functions
-
-#define swf_ResetReadBits(tag) if (tag->readBit) { tag->pos++; tag->readBit = 0; }
-#define swf_ResetWriteBits(tag) if (tag->writeBit) { tag->writeBit = 0; }
-
// for future purpose: avoid high level lib functions to change tagpos/bitpos
#define swf_SaveTagPos(tag)
// for future purpose: avoid high level lib functions to change tagpos/bitpos
#define swf_SaveTagPos(tag)
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
b5e062c
..
3621321
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-151,6
+151,9
@@
typedef struct _TAG // NEVER access a Tag-Struct directly !
} TAG, * LPTAG;
} TAG, * LPTAG;
+#define swf_ResetReadBits(tag) if (tag->readBit) { tag->pos++; tag->readBit = 0; }
+#define swf_ResetWriteBits(tag) if (tag->writeBit) { tag->writeBit = 0; }
+
typedef struct _SOUNDINFO
{
U8 stop;
typedef struct _SOUNDINFO
{
U8 stop;