Displaying 1 result from an estimated 1 matches for "860d2c4".
Did you mean:
860d2c9
2007 Mar 20
0
9 commits - configure.ac libswfdec/swfdec_bits.c libswfdec/swfdec_debug.c libswfdec/swfdec_js.c libswfdec/swfdec_script.c libswfdec/swfdec_sound.c
...ebb48)
Author: Benjamin Otte <otte@gnome.org>
Date: Tue Mar 20 14:01:32 2007 +0100
some improvements to SwfdecBits
- validate strings as utf-8
- slight speed improvement for SWFDEC_BITS_CHECK_BYTES macro
diff --git a/libswfdec/swfdec_bits.c b/libswfdec/swfdec_bits.c
index 860d2c4..7327413 100644
--- a/libswfdec/swfdec_bits.c
+++ b/libswfdec/swfdec_bits.c
@@ -96,8 +96,16 @@ swfdec_bits_left (SwfdecBits *b)
} \
}G_STMT_END
#define SWFDEC_BYTES_CHECK(b,n) G_STMT_START { \
+ gulong __bytes; \
swfdec_bits_syncbits (b); \
- SWFDEC_BITS_CHECK (b, 8 * n); \
+ __bytes = b...