copy fix over from 4.x branch

This commit is contained in:
weidai 2003-05-27 07:08:11 +00:00
parent 1a1fca3f87
commit 2f50e8eac9

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