projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[izlesene] Add new extractor. Closes #3184
[youtube-dl]
/
youtube_dl
/
swfinterp.py
diff --git
a/youtube_dl/swfinterp.py
b/youtube_dl/swfinterp.py
index 87ec7bcffe6986964c589c474fdacd75437be0ee..b63c65b201ec2b34c6482e8526694431041f75fe 100644
(file)
--- a/
youtube_dl/swfinterp.py
+++ b/
youtube_dl/swfinterp.py
@@
-111,7
+111,7
@@
def _u30(reader):
res = _read_int(reader)
assert res & 0xf0000000 == 0
return res
res = _read_int(reader)
assert res & 0xf0000000 == 0
return res
-u32 = _read_int
+
_
u32 = _read_int
def _s32(reader):
def _s32(reader):
@@
-470,8
+470,7
@@
class SWFInterpreter(object):
mname = self.multinames[index]
assert isinstance(obj, _AVMClass)
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())
# We do not actually call the constructor for now;
# we just pretend it does nothing
stack.append(obj.make_object())