mirror of https://github.com/Rudloff/alltube.git
fix: Wrong variable name
This commit is contained in:
parent
f952f15851
commit
756ff36653
|
@ -25,7 +25,7 @@ class YoutubeStream extends AppendStream
|
||||||
|
|
||||||
$stream = $video->getHttpResponse();
|
$stream = $video->getHttpResponse();
|
||||||
$contentLenghtHeader = $stream->getHeader('Content-Length');
|
$contentLenghtHeader = $stream->getHeader('Content-Length');
|
||||||
$curSize = 0;
|
$rangeStart = 0;
|
||||||
|
|
||||||
while ($rangeStart < $contentLenghtHeader[0]) {
|
while ($rangeStart < $contentLenghtHeader[0]) {
|
||||||
$rangeEnd = $rangeStart + $video->downloader_options->http_chunk_size;
|
$rangeEnd = $rangeStart + $video->downloader_options->http_chunk_size;
|
||||||
|
|
Loading…
Reference in New Issue