search for: 08ae1d8

Displaying 3 results from an estimated 3 matches for "08ae1d8".

2007 Jan 24
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_script.c test/swfdec_out.c test/swfdec_out.h test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h
...n SWF_COLOR_COMBINE (r, g, b, 0xff); } -unsigned int +SwfdecColor swfdec_bits_get_rgba (SwfdecBits * bits) { - int r, g, b, a; + unsigned int r, g, b, a; r = swfdec_bits_get_u8 (bits); g = swfdec_bits_get_u8 (bits); diff --git a/libswfdec/swfdec_bits.h b/libswfdec/swfdec_bits.h index 08ae1d8..a44c9e2 100644 --- a/libswfdec/swfdec_bits.h +++ b/libswfdec/swfdec_bits.h @@ -65,8 +65,8 @@ const char *swfdec_bits_skip_string (Swf guint swfdec_bits_skip_bytes (SwfdecBits *bits, guint bytes); char *swfdec_bits_get_string (SwfdecBits * bits); char *swfdec_bits_get_string_length (SwfdecBits *...
2007 Jan 18
0
Branch 'interpreter' - 4 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_tag.c
...s->buffer, bits->ptr - bits->buffer->data, len); + } else { + buffer = swfdec_buffer_new_and_alloc (len); + memcpy (buffer->data, bits->ptr, len); + } bits->ptr += len; return buffer; } diff --git a/libswfdec/swfdec_bits.h b/libswfdec/swfdec_bits.h index 86440f7..08ae1d8 100644 --- a/libswfdec/swfdec_bits.h +++ b/libswfdec/swfdec_bits.h @@ -32,13 +32,14 @@ typedef struct _SwfdecBits SwfdecBits; struct _SwfdecBits { - SwfdecBuffer *buffer; - unsigned char *ptr; - unsigned int idx; - unsigned char *end; + SwfdecBuffer * buffer; /* buffer data is taken from...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...n SWF_COLOR_COMBINE (r, g, b, 0xff); } -unsigned int +SwfdecColor swfdec_bits_get_rgba (SwfdecBits * bits) { - int r, g, b, a; + unsigned int r, g, b, a; r = swfdec_bits_get_u8 (bits); g = swfdec_bits_get_u8 (bits); diff --git a/libswfdec/swfdec_bits.h b/libswfdec/swfdec_bits.h index 08ae1d8..a44c9e2 100644 --- a/libswfdec/swfdec_bits.h +++ b/libswfdec/swfdec_bits.h @@ -65,8 +65,8 @@ const char *swfdec_bits_skip_string (Swf guint swfdec_bits_skip_bytes (SwfdecBits *bits, guint bytes); char *swfdec_bits_get_string (SwfdecBits * bits); char *swfdec_bits_get_string_length (SwfdecBits *...