fixed assert in piece_picker
This commit is contained in:
parent
e85cb90652
commit
fbec4261cd
|
@ -1540,6 +1540,7 @@ namespace libtorrent
|
|||
, end(m_downloads.end()); i != end; ++i)
|
||||
{
|
||||
if (!pieces[i->index]) continue;
|
||||
if (piece_priority(i->index) == 0) continue;
|
||||
|
||||
int num_blocks_in_piece = blocks_in_piece(i->index);
|
||||
for (int j = 0; j < num_blocks_in_piece; ++j)
|
||||
|
|
Loading…
Reference in New Issue