[Swfdec] 2 commits - libswfdec/swfdec_as_interpret.c
Benjamin Otte
company at kemper.freedesktop.org
Fri Aug 17 08:43:30 PDT 2007
libswfdec/swfdec_as_interpret.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
diff-tree afdf9987d560b315469d8747f56916dcd3235ecb (from parents)
Merge: 2639fca86d427f3612d5ef1ed153e0090ccd9533 c44ef5cc232c3bad04a9c5e86d0f501b93e2390f
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Aug 17 17:43:21 2007 +0200
Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec/swfdec
diff-tree 2639fca86d427f3612d5ef1ed153e0090ccd9533 (from bf81efebf34c71944530945a70c24532de6ea111)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Aug 17 17:31:44 2007 +0200
0 registers means 4 registers
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index ecc828a..47e62d5 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1499,6 +1499,8 @@ swfdec_action_define_function (SwfdecAsC
n_args = swfdec_bits_get_u16 (&bits);
if (v2) {
n_registers = swfdec_bits_get_u8 (&bits);
+ if (n_registers == 0)
+ n_registers = 4;
flags = swfdec_bits_get_u16 (&bits);
} else {
n_registers = 5;
More information about the Swfdec
mailing list