[Swfdec] 2 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_player.c

Benjamin Otte company at kemper.freedesktop.org
Sun Oct 28 10:45:43 PDT 2007


 libswfdec/swfdec_as_object.c |    2 +-
 libswfdec/swfdec_player.c    |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 47172e22594af75e4b8ec799b9161ddf43992623
Author: Benjamin Otte <otte at gnome.org>
Date:   Sun Oct 28 18:38:57 2007 +0100

    Don't assert on non-empty rectangle (fixes Gnome #491113)
    
    It's something we don't like, but stupid doubles will always get us...

diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 93887f4..6791094 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -1624,7 +1624,8 @@ swfdec_player_invalidate (SwfdecPlayer *player, const SwfdecRect *rect)
   guint i;
 
   if (swfdec_rect_is_empty (rect)) {
-    g_assert_not_reached ();
+    SWFDEC_ERROR ("called with an empty rectanle. In theory this shouldn't happen.");
+    SWFDEC_ERROR ("  However, degenerate matrixes can cause this. We need a fix for that.");
     return;
   }
 
commit ccfef0a67802ebdf20402d547f7afd67c96119c3
Author: Riccardo Magliocchetti <riccardo at datahost.it>
Date:   Sun Oct 28 18:07:07 2007 +0100

    typo in docs

diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c
index cc6be1a..682cb2b 100644
--- a/libswfdec/swfdec_as_object.c
+++ b/libswfdec/swfdec_as_object.c
@@ -67,7 +67,7 @@
  * SwfdecAsVariableFlag:
  * @SWFDEC_AS_VARIABLE_HIDDEN: Do not include variable in enumerations and
  *                                swfdec_as_object_foreach().
- * @SWFDEC_AS_VARIABLE_PERMANENT: Do not alloe swfdec_as_object_delete_variable()
+ * @SWFDEC_AS_VARIABLE_PERMANENT: Do not allow swfdec_as_object_delete_variable()
  *                                to delete this variable.
  * @SWFDEC_AS_VARIABLE_CONSTANT: Do not allow changing the value with
  *                               swfdec_as_object_set_variable().


More information about the Swfdec mailing list