This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[swfinterp] Implement pushtrue and pushfalse opcodes
totalwebcasting
Philipp Hagemeister
10 years ago
parent
eb5376044c
commit
a4bb83956c
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
youtube_dl/swfinterp.py
+ 4
- 0
youtube_dl/swfinterp.py
View File
@ -426,6 +426,10 @@ class SWFInterpreter(object):
elif
opcode
==
36
:
# pushbyte
v
=
_read_byte
(
coder
)
stack
.
append
(
v
)
elif
opcode
==
38
:
# pushtrue
stack
.
append
(
True
)
elif
opcode
==
39
:
# pushfalse
stack
.
append
(
False
)
elif
opcode
==
42
:
# dup
value
=
stack
[
-
1
]
stack
.
append
(
value
)
Write
Preview
Loading…
Cancel
Save