gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #47055] Gnash testsuite should not produce compresse


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #47055] Gnash testsuite should not produce compressed SWF5 file
Date: Wed, 03 Feb 2016 14:25:23 +0000
User-agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.51

URL:
  <http://savannah.gnu.org/bugs/?47055>

                 Summary: Gnash testsuite should not produce compressed SWF5
file
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Wed 03 Feb 2016 09:25:22 PM ICT
                Category: testsuite
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This is a spin-off from bug #47054 (`getvariable.as` testsuite failure).

I found that when I tried to open `getvariable-v5.swf` test from
Gnash testsuite on a _real_ Flash Player 5, *it wouldn't load*.

When right-clicked on the screen, context menu shown grayed-out
"Movie not loaded..." status.

Root cause of the issue appeared when I tried to use `file` command
to check if test SWFs were corrupted:

Dejagnu.swf;        Macromedia Flash data, version 5
getvariable-v5.swf; Macromedia Flash data (compressed), version 5
getvariable-v6.swf; Macromedia Flash data (compressed), version 6
getvariable-v7.swf; Macromedia Flash data (compressed), version 7
getvariable-v8.swf; Macromedia Flash data (compressed), version 8


According to Adobe's specification
<http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf-file-format-spec.pdf>,
SWF version 5 *does not support compression*;
so it simply won't load. Later version of Flash Player e.g. v7, v9, and v11
decompressed the file properly as they have compression support.

Gnash testsuite: 0.8.11dev (git e705394 29-Jan-2016)
Flash Player: 5.0 r41 (5.0.41.0) NPAPI binary
Browser: Mozilla Filefox 11.0
System: Microsoft Windows XP Professional SP3

P.S. For the record, each SWF version have compression support as follows:
* Uncompressed SWF (file's magic string "FWS") is supported since forever.
* Zlib compression scheme (file's magic string "CWS") is supported since SWF
version 6.
* LZMA compression scheme (file's magic string "ZWS") is supported since SWF
version 13.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47055>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]