Merge remote-tracking branch 'naglis/sockshare'
[youtube-dl] / youtube_dl / swfinterp.py
index 87ec7bcffe6986964c589c474fdacd75437be0ee..b63c65b201ec2b34c6482e8526694431041f75fe 100644 (file)
@@ -111,7 +111,7 @@ def _u30(reader):
     res = _read_int(reader)
     assert res & 0xf0000000 == 0
     return res
-u32 = _read_int
+_u32 = _read_int
 
 
 def _s32(reader):
@@ -470,8 +470,7 @@ class SWFInterpreter(object):
 
                     mname = self.multinames[index]
                     assert isinstance(obj, _AVMClass)
-                    construct_method = self.extract_function(
-                        obj, mname)
+
                     # We do not actually call the constructor for now;
                     # we just pretend it does nothing
                     stack.append(obj.make_object())