mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
commit
452f258b17
@ -70,7 +70,7 @@ public class DownloadRunnable extends Thread {
|
|||||||
Log.d(TAG, mId + ":acquired block at position=" + block.position + " done=" + block.done);
|
Log.d(TAG, mId + ":acquired block at position=" + block.position + " done=" + block.done);
|
||||||
}
|
}
|
||||||
|
|
||||||
long start = block.position * DownloadMission.BLOCK_SIZE;
|
long start = (long)block.position * DownloadMission.BLOCK_SIZE;
|
||||||
long end = start + DownloadMission.BLOCK_SIZE - 1;
|
long end = start + DownloadMission.BLOCK_SIZE - 1;
|
||||||
|
|
||||||
start += block.done;
|
start += block.done;
|
||||||
|
Loading…
Reference in New Issue
Block a user