Merge pull request #60 from szabadka/master

Add a missing state transition to CopyUncompressedBlockToOutput().
This commit is contained in:
szabadka 2015-04-01 16:20:59 +02:00
commit 28dea6a64d

View File

@ -683,6 +683,7 @@ BrotliResult CopyUncompressedBlockToOutput(BrotliOutput output,
}
s->meta_block_remaining_len--;
}
s->sub_state[0] = BROTLI_STATE_SUB_NONE;
return BROTLI_RESULT_SUCCESS;
case BROTLI_STATE_SUB_UNCOMPRESSED_FILL:
/* If we have more to copy than the remaining size of the ringbuffer,