mirror of
https://github.com/google/brotli.git
synced 2025-01-06 06:50:06 +00:00
Merge pull request #60 from szabadka/master
Add a missing state transition to CopyUncompressedBlockToOutput().
This commit is contained in:
commit
28dea6a64d
@ -683,6 +683,7 @@ BrotliResult CopyUncompressedBlockToOutput(BrotliOutput output,
|
|||||||
}
|
}
|
||||||
s->meta_block_remaining_len--;
|
s->meta_block_remaining_len--;
|
||||||
}
|
}
|
||||||
|
s->sub_state[0] = BROTLI_STATE_SUB_NONE;
|
||||||
return BROTLI_RESULT_SUCCESS;
|
return BROTLI_RESULT_SUCCESS;
|
||||||
case BROTLI_STATE_SUB_UNCOMPRESSED_FILL:
|
case BROTLI_STATE_SUB_UNCOMPRESSED_FILL:
|
||||||
/* If we have more to copy than the remaining size of the ringbuffer,
|
/* If we have more to copy than the remaining size of the ringbuffer,
|
||||||
|
Loading…
Reference in New Issue
Block a user