CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/01/05 10:58:05

Modified files:
        .              : ChangeLog 
        libamf         : sol.cpp 

Log message:
                * libamf/sol.cpp (SOL::readFile): revert the fix to magic number
                  consistency, it really seems it's us failign to swap bytes
                  when writing it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5313&r2=1.5314
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/sol.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5313
retrieving revision 1.5314
diff -u -b -r1.5313 -r1.5314
--- ChangeLog   5 Jan 2008 10:55:46 -0000       1.5313
+++ ChangeLog   5 Jan 2008 10:58:05 -0000       1.5314
@@ -1,5 +1,11 @@
 2008-01-05 Sandro Santilli <[EMAIL PROTECTED]>
 
+       * libamf/sol.cpp (SOL::readFile): revert the fix to magic number
+         consistency, it really seems it's us failign to swap bytes
+         when writing it.
+
+2008-01-05 Sandro Santilli <[EMAIL PROTECTED]>
+
        * libamf/sol.cpp (SOL::readFile): fix magic number consistency
          check.
        * testsuite/: Makefile.am, gnashrc.in: allow read-write access

Index: libamf/sol.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/sol.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- libamf/sol.cpp      5 Jan 2008 10:55:46 -0000       1.13
+++ libamf/sol.cpp      5 Jan 2008 10:58:05 -0000       1.14
@@ -323,7 +323,7 @@
         ptr += 10;
 
        // consistency check
-        if ((buf[1] == 0) && (buf[0] == 0xbf)) {
+        if ((buf[0] == 0) && (buf[1] == 0xbf)) {
             if (bodysize == length) {
                 log_debug("%s is an SOL file", filespec.c_str());
             } else {


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to