copy fix over from 4.x branch

import/raw
weidai 2003-05-27 07:08:11 +00:00
parent 7eeb55b56e
commit f39e69a1a0
1 changed files with 2 additions and 3 deletions

View File

@ -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());