open-flash / swf-parser

Rust and Typescript parsers for SWF
GNU Affero General Public License v3.0
28 stars 8 forks source link

[all] Fix `TextRecord` flags parsing #60

Closed demurgos closed 5 years ago

demurgos commented 5 years ago

This commit fixes the TextRecord parsers: the has_offset_x and has_offset_y flags were swapped. It caused the DefineText tag in the hello-world movie to be misparsed.