From 810e6cf8f0ca8b3be5be60c0a8c2f84bf60720e0 Mon Sep 17 00:00:00 2001 From: Alexandre Bini Date: Wed, 16 Jun 2010 23:28:05 -0300 Subject: [PATCH] fixing 1.9.1 bug --- lib/parser/swf.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/parser/swf.rb b/lib/parser/swf.rb index 0d2c749..823b25f 100644 --- a/lib/parser/swf.rb +++ b/lib/parser/swf.rb @@ -51,7 +51,6 @@ def self.dimensions(stream) rectbytes = (rectbits.to_f / 8).ceil # Unpack the RECT structure from the stream in little-endian bit order, then join it into a string - #rect = contents[8..(8 + rectbytes)].unpack("#{'B8' * rectbytes}").join() rect = contents[8..(8 + rectbytes)].unpack("#{'B8' * rectbytes}").join() # Read in nbits incremenets starting from 5