[Swfdec] Patches to make blocky.swf playable

Nguyen Thai Ngoc Duy pclouds at gmail.com
Sat Jun 23 16:32:55 PDT 2007


So here is the patch series to make blocky.swf work with branch 'as'. Summary:

Nguyễn Thái Ngọc Duy (7):
      Add a missing else statement
      Create swfdec_movie_duplicate
      Implement action CloneSprite with swfdec_movie_duplicate
      Add action RemoveSprite
      Add new variables to the target
      Remove movies with the same name when adding new movie
      We don't handle replacing movies other than SwfdecGraphicMovie yet

 libswfdec/swfdec_as_context.c      |    6 +++
 libswfdec/swfdec_as_interpret.c    |   61 ++++++++++++++++++++++++++++++++++-
 libswfdec/swfdec_movie.c           |   48 ++++++++++++++++++++++++++++
 libswfdec/swfdec_movie.h           |    4 ++-
 libswfdec/swfdec_sprite_movie.c    |    3 +-
 libswfdec/swfdec_sprite_movie_as.c |   30 +----------------
 libswfdec/swfdec_swf_instance.c    |    3 +-
 7 files changed, 122 insertions(+), 33 deletions(-)

CloneSprite/RemoveSprite patches I already posted earlier for fatal_
because I expected it would take longer to debug, but it didn't. Post
again for the sake of complete series.

Patch 6 is not really great. It should be rewritten for better
performance. Any idea? Ah and you need to comment out
createEmptyMovieClip because it's not good enough for blocky.swf ;-)
-- 
Duy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-missing-else-statement.patch
Type: text/x-patch
Size: 855 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Create-swfdec_movie_duplicate.patch
Type: text/x-patch
Size: 4594 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-action-CloneSprite-with-swfdec_movie_dupli.patch
Type: text/x-patch
Size: 3256 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-action-RemoveSprite.patch
Type: text/x-patch
Size: 3072 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Add-new-variables-to-the-target.patch
Type: text/x-patch
Size: 991 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Remove-movies-with-the-same-name-when-adding-new-mov.patch
Type: text/x-patch
Size: 1361 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0005.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-We-don-t-handle-replacing-movies-other-than-SwfdecGr.patch
Type: text/x-patch
Size: 1024 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070623/a42eea43/attachment-0006.bin 


More information about the Swfdec mailing list