aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/ism.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/downloader/ism.py')
-rw-r--r--youtube_dl/downloader/ism.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/ism.py b/youtube_dl/downloader/ism.py
index 9f0fc36b3..338820e71 100644
--- a/youtube_dl/downloader/ism.py
+++ b/youtube_dl/downloader/ism.py
@@ -227,7 +227,7 @@ class IsmFD(FragmentFD):
frag_index = 0
for i, segment in enumerate(segments):
frag_index += 1
- if frag_index <= ctx['frag_index']:
+ if frag_index <= ctx['fragment_index']:
continue
count = 0
while count <= fragment_retries: