youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit a4bb83956cf3aa4f569c30b4d144b4fb327c7b56
parent eb5376044ca2bb86a61c70ce1905992a0e5d25bd
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 17 Nov 2014 04:29:34 +0100

[swfinterp] Implement pushtrue and pushfalse opcodes

Diffstat:
Myoutube_dl/swfinterp.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.py @@ -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)