libswfdec/swfdec_movie.c | 3 +++
1 files changed, 3 insertions(+)
New commits:
diff-tree 774031e0bb34710e971ab143aac62300907486d3 (from
a6c380467a9cb20fd2d151d74603f1de5637cabf)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Jun 13 16:34:43 2007 +0200
fix matrix calculation - 3 lines got lost in the reorg
diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c
index cee0ba6..53ca79e 100644
--- a/libswfdec/swfdec_movie.c
+++ b/libswfdec/swfdec_movie.c
@@ -951,6 +951,9 @@ swfdec_movie_set_static_properties (Swfd
}
if (transform) {
movie->original_transform = *transform;
+ movie->xscale = swfdec_matrix_get_xscale
(&movie->original_transform);
+ movie->yscale = swfdec_matrix_get_yscale
(&movie->original_transform);
+ movie->rotation = swfdec_matrix_get_rotation
(&movie->original_transform);
swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_MATRIX);
}
if (ctrans) {
libswfdec/swfdec_movie.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
New commits:
diff-tree 71cdae101afa3ffbc34bc4790ffbc9d435c9d8c3 (from
1d85fb35f0e2d57d684df1b9df2d42ddc7e7e547)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jul 3 12:34:26 2007 +0100
parse broken & signs in urls better
diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c
index dff211f..0ae840f 100644
--- a/libswfdec/swfdec_movie.c
+++ b/libswfdec/swfdec_movie.c
@@ -456,6 +456,10 @@ swfdec_movie_set_variables (SwfdecMovie
const char *asname;
SwfdecAsValue val;
+ while (*variables == '&')
+ variables++;
+ if (*variables == '\0')
+ break;
if (!swfdec_urldecode_one (variables, &name, &value,
&variables)) {
SWFDEC_WARNING ("variables invalid at \"%s\"",
variables);
break;
@@ -471,9 +475,6 @@ swfdec_movie_set_variables (SwfdecMovie
g_free (value);
swfdec_as_object_set_variable (as, asname, &val);
SWFDEC_LOG ("Set variable \"%s\" to \"%s\"",
name, value);
- if (*variables == '\0')
- break;
- variables++;
}
}
Maybe Matching Threads
- Branch 'as' - 7 commits - libswfdec/swfdec_as_math.c libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/trace
- [PATCH] swfdec: better variable parsing.
- 2 commits - libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/various
- Branch 'as' - 4 commits - libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c player/swfdec_debug_movies.c
- [Bug 21004] New: segfault loading www.serjtankian. com in swfdec_buffer_ref at swfdec_buffer.c:269