mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[swfinterp] Implement pushtrue and pushfalse opcodes
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister