copy fix over from 4.x branch
parent
1a1fca3f87
commit
2f50e8eac9
|
|
@ -303,9 +303,6 @@ void Inflator::ProcessInput(bool flush)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
if (m_inQueue.IsEmpty())
|
|
||||||
return;
|
|
||||||
|
|
||||||
switch (m_state)
|
switch (m_state)
|
||||||
{
|
{
|
||||||
case PRE_STREAM:
|
case PRE_STREAM:
|
||||||
|
|
@ -337,6 +334,8 @@ void Inflator::ProcessInput(bool flush)
|
||||||
ProcessPoststreamTail();
|
ProcessPoststreamTail();
|
||||||
m_state = m_repeat ? PRE_STREAM : AFTER_END;
|
m_state = m_repeat ? PRE_STREAM : AFTER_END;
|
||||||
Output(0, NULL, 0, GetAutoSignalPropagation(), true); // TODO: non-blocking
|
Output(0, NULL, 0, GetAutoSignalPropagation(), true); // TODO: non-blocking
|
||||||
|
if (m_inQueue.IsEmpty())
|
||||||
|
return;
|
||||||
break;
|
break;
|
||||||
case AFTER_END:
|
case AFTER_END:
|
||||||
m_inQueue.TransferTo(*AttachedTransformation());
|
m_inQueue.TransferTo(*AttachedTransformation());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue