mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +00:00
copy fix over from 4.x branch
This commit is contained in:
parent
1a1fca3f87
commit
2f50e8eac9
@ -303,9 +303,6 @@ void Inflator::ProcessInput(bool flush)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
if (m_inQueue.IsEmpty())
|
||||
return;
|
||||
|
||||
switch (m_state)
|
||||
{
|
||||
case PRE_STREAM:
|
||||
@ -337,6 +334,8 @@ void Inflator::ProcessInput(bool flush)
|
||||
ProcessPoststreamTail();
|
||||
m_state = m_repeat ? PRE_STREAM : AFTER_END;
|
||||
Output(0, NULL, 0, GetAutoSignalPropagation(), true); // TODO: non-blocking
|
||||
if (m_inQueue.IsEmpty())
|
||||
return;
|
||||
break;
|
||||
case AFTER_END:
|
||||
m_inQueue.TransferTo(*AttachedTransformation());
|
||||
|
Loading…
Reference in New Issue
Block a user