From 93f70f73c23ee0213d99c9bab5c3f45618c9ca7d Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Thu, 21 Jul 2022 16:19:52 +0100 Subject: [PATCH] Device: Fix header structure, should not be a constant 1 --- pywidevine/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywidevine/device.py b/pywidevine/device.py index ccbeb1f..30362bc 100644 --- a/pywidevine/device.py +++ b/pywidevine/device.py @@ -25,7 +25,7 @@ class _Types(Enum): class _Structures: header = Struct( "signature" / Const(b"WVD"), - "version" / Const(Int8ub, 1) + "version" / Int8ub ) v2 = Struct(