diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-11-03 22:15:09 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-11-03 22:15:09 +0700 |
commit | 9d64e1dcdc610491217a3197f97e5bd8120d1974 (patch) | |
tree | f6fbcec6e0ed811726aa51dae4e6095fc1424032 /youtube_dl | |
parent | 10380e55def817f568b3e1b8e16a2133ded19124 (diff) |
[downloader/ism] Fix typo
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/ism.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/downloader/ism.py b/youtube_dl/downloader/ism.py index 53f319cae..93cac5e98 100644 --- a/youtube_dl/downloader/ism.py +++ b/youtube_dl/downloader/ism.py @@ -129,7 +129,7 @@ def write_piff_header(stream, params): sample_entry_payload += u1616.pack(params['sampling_rate']) if fourcc == 'AACL': - smaple_entry_box = box(b'mp4a', sample_entry_payload) + sample_entry_box = box(b'mp4a', sample_entry_payload) else: sample_entry_payload = sample_entry_payload sample_entry_payload += u16.pack(0) # pre defined @@ -158,8 +158,8 @@ def write_piff_header(stream, params): avcc_payload += u16.pack(len(pps)) avcc_payload += pps sample_entry_payload += box(b'avcC', avcc_payload) # AVC Decoder Configuration Record - smaple_entry_box = box(b'avc1', sample_entry_payload) # AVC Simple Entry - stsd_payload += smaple_entry_box + sample_entry_box = box(b'avc1', sample_entry_payload) # AVC Simple Entry + stsd_payload += sample_entry_box stbl_payload = full_box(b'stsd', 0, 0, stsd_payload) # Sample Description Box |