Displaying 2 results from an estimated 2 matches for "6000d45".
2007 Apr 22
0
libswfdec/swfdec_tag.c
...b0d8210cba619fdd350281e94 (from 086e5f3c4da50df4b485792da7ca49a25484aebc)
Author: Benjamin Otte <otte@gnome.org>
Date: Sun Apr 22 13:07:26 2007 +0200
make sure the same depth and state aren't taken twice in buttons
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index 6000d45..74c5083 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -272,12 +272,45 @@ tag_func_do_action (SwfdecSwfDecoder * s
return SWFDEC_STATUS_OK;
}
+#define CONTENT_IN_FRAME(content, frame) \
+ ((content)->sequence->start <= frame && \
+ (content)->seque...
2007 Apr 20
0
8 commits - libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_root_sprite.c libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_tag.c NEWS test/parse.c
...t_offset (s->input_queue), tag,
swfdec_swf_decoder_get_tag_name (tag), tag_len);
}
+ } else {
+ ret = SWFDEC_STATE_EOF;
+ SWFDEC_ERROR ("data after last frame");
}
if (tag == 0) {
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index 0d0eeb8..6000d45 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -195,7 +195,7 @@ tag_func_define_sprite (SwfdecSwfDecoder
int id;
SwfdecSprite *sprite;
int ret;
- guint tag;
+ guint tag = 1;
parse = s->b;
@@ -209,7 +209,7 @@ tag_func_define_sprite (SwfdecSwfDecoder
swfde...