[Swfdec] 2 commits - libswfdec/swfdec_as_interpret.c test/image

Benjamin Otte company at kemper.freedesktop.org
Mon Dec 10 14:52:55 PST 2007


 libswfdec/swfdec_as_interpret.c |    2 +-
 test/image/README               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 590b0fdcb3b1986ab941dfc6154d0cd7bcd0de2f
Author: Benjamin Otte <otte at gnome.org>
Date:   Mon Dec 10 23:28:06 2007 +0100

    fix previous (untested) alignment warning fix

diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 975a447..24ed902 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1093,7 +1093,7 @@ swfdec_action_jump (SwfdecAsContext *cx, guint action, const guint8 *data, guint
     return;
   }
   offset = data[0] | (data[1] << 8);
-  cx->frame->pc += 5 + (int) data;
+  cx->frame->pc += 5 + (int) offset;
 }
 
 static void
commit 9e1b1e79402db6fe8952958251f97c7d5926ed96
Author: Benjamin Otte <otte at gnome.org>
Date:   Mon Dec 10 22:35:31 2007 +0100

    fix wording

diff --git a/test/image/README b/test/image/README
index 53f2873..a430943 100644
--- a/test/image/README
+++ b/test/image/README
@@ -1,4 +1,4 @@
-This directory contains tests thting the sound output of Swfdec
+This directory contains tests for testing the rendering output of Swfdec
 
 What tests belong here?
 


More information about the Swfdec mailing list