fix: Wrong variable name

This commit is contained in:
Pierre Rudloff 2019-04-26 20:38:14 +02:00
parent f952f15851
commit 756ff36653

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;