CVSROOT: /sources/gnash Module name: gnash Branch: release_0_8_1 Changes by: Sandro Santilli <strk> 07/08/18 22:08:12
Modified files: . : ChangeLog server/swf : tag_loaders.cpp Log message: * server/swf/tag_loaders.cpp (define_bits_lossless_2_loader): ensure bytes, not bits! CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.3971.2.37&r2=1.3971.2.38 http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.123.2.5&r2=1.123.2.6 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3971.2.37 retrieving revision 1.3971.2.38 diff -u -b -r1.3971.2.37 -r1.3971.2.38 --- ChangeLog 18 Aug 2007 21:52:33 -0000 1.3971.2.37 +++ ChangeLog 18 Aug 2007 22:08:12 -0000 1.3971.2.38 @@ -1,5 +1,7 @@ 2007-08-18 Sandro Santilli <[EMAIL PROTECTED]> + * server/swf/tag_loaders.cpp (define_bits_lossless_2_loader): + ensure bytes, not bits! * server/vm/ASHandlers.cpp (CommonGetUrl): always check for URL (security). Give precedence to loadVariable calls even if target is _level#. Fixes load of Index: server/swf/tag_loaders.cpp =================================================================== RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v retrieving revision 1.123.2.5 retrieving revision 1.123.2.6 diff -u -b -r1.123.2.5 -r1.123.2.6 --- server/swf/tag_loaders.cpp 18 Aug 2007 05:05:17 -0000 1.123.2.5 +++ server/swf/tag_loaders.cpp 18 Aug 2007 22:08:12 -0000 1.123.2.6 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -/* $Id: tag_loaders.cpp,v 1.123.2.5 2007/08/18 05:05:17 strk Exp $ */ +/* $Id: tag_loaders.cpp,v 1.123.2.6 2007/08/18 22:08:12 strk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -721,7 +721,7 @@ // tags 20 || 36 assert(tag == SWF::DEFINELOSSLESS || tag == SWF::DEFINELOSSLESS2); - in->ensureBytes(16+16+16+8); // the initial header + in->ensureBytes(2+2+2+1); // the initial header uint16_t character_id = in->read_u16(); uint8_t bitmap_format = in->read_u8(); // 3 == 8 bit, 4 == 16 bit, 5 == 32 bit _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit