]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[downloader/ism] Fix typo
authorSergey M․ <dstftw@gmail.com>
Thu, 3 Nov 2016 15:15:09 +0000 (22:15 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 3 Nov 2016 15:15:09 +0000 (22:15 +0700)
youtube_dl/downloader/ism.py

index 53f319caeea565a40b78ba4899f68d18f0f0cc9e..93cac5e9845db6f00efdd2053fb63b3f3c35e52b 100644 (file)
@@ -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