Skip to content

Commit 26bfad3

Browse files
committed
Remove deprecated Algorithm field 1 which should not be used conjunction with Protection Scheme field 9
1 parent f8ce9a9 commit 26bfad3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Source/Python/utils/mp4utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,6 @@ def ComputeWidevineHeader(header_spec, encryption_scheme, kid_hex):
12961296
if 'policy' in fields:
12971297
protobuf_fields.append((6, fields['policy']))
12981298

1299-
if encryption_scheme == 'cenc':
1300-
protobuf_fields.append((1, 1))
1301-
13021299
four_cc = struct.unpack('>I', encryption_scheme.encode('ascii'))[0]
13031300
protobuf_fields.append((9, four_cc))
13041301

0 commit comments

Comments
 (0)