1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-11 10:57:22 +08:00

Avoid overriding smhd_payload

This commit is contained in:
Robin Neatherway 2017-07-12 18:31:30 +01:00
parent 5d3ce0b891
commit b306277141

View File

@ -98,7 +98,7 @@ def write_piff_header(stream, params):
if is_audio:
smhd_payload = s88.pack(0) # balance
smhd_payload = u16.pack(0) # reserved
smhd_payload += u16.pack(0) # reserved
media_header_box = full_box(b'smhd', 0, 0, smhd_payload) # Sound Media Header
else:
vmhd_payload = u16.pack(0) # graphics mode