fix: Wrong variable name

This commit is contained in:
Pierre Rudloff 2019-04-26 20:38:14 +02:00
parent f952f15851
commit 756ff36653
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class YoutubeStream extends AppendStream
$stream = $video->getHttpResponse();
$contentLenghtHeader = $stream->getHeader('Content-Length');
$curSize = 0;
$rangeStart = 0;
while ($rangeStart < $contentLenghtHeader[0]) {
$rangeEnd = $rangeStart + $video->downloader_options->http_chunk_size;