forked from premiere/premiere-libtorrent
fixed typo in physical_offset pad-file fix
This commit is contained in:
parent
da0560f129
commit
639590eff8
|
@ -992,7 +992,7 @@ ret:
|
|||
while (file_iter->pad_file)
|
||||
{
|
||||
++file_iter;
|
||||
if (file_iter == m_files.end())
|
||||
if (file_iter == files().end())
|
||||
return size_type(slot) * files().piece_length() + offset;
|
||||
}
|
||||
TORRENT_ASSERT(!file_iter->pad_file);
|
||||
|
|
Loading…
Reference in New Issue