A feature-rich command-line audio/video downloader
[swfinterp] Implement pushtrue and pushfalse opcodes
Philipp Hagemeistera4bb83956cf3
diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.pyindex 1e8b26ecc4..dd4dd060ad 100644--- a/youtube_dl/swfinterp.py+++ b/youtube_dl/swfinterp.py@@ -426,6 +426,10 @@ class SWFInterpreter(object):elif opcode == 36: # pushbytev = _read_byte(coder)stack.append(v)+ elif opcode == 38: # pushtrue+ stack.append(True)+ elif opcode == 39: # pushfalse+ stack.append(False)elif opcode == 42: # dupvalue = stack[-1]stack.append(value)