adjusted terminate_stream to shallow copy between two bitstreams
This commit is contained in:
parent
60b5c6c80a
commit
ae7d48c458
1 changed files with 2 additions and 1 deletions
|
@ -461,7 +461,7 @@ get_chunck(bitstream *const stream, const uint64 size)
|
|||
! !
|
||||
\*----------------------------------------------------------------------------------------------------------*/
|
||||
uchar
|
||||
terminate_stream(bitstream *stream, bwc_stream *const packed_stream)
|
||||
terminate_stream(bitstream *stream, bitstream *const packed_stream)
|
||||
{
|
||||
/*-----------------------*\
|
||||
! DEFINE ASSERTIONS: !
|
||||
|
@ -491,6 +491,7 @@ terminate_stream(bitstream *stream, bwc_stream *const packed_stream)
|
|||
packed_stream->access = stream->memory;
|
||||
packed_stream->size = stream->L;
|
||||
packed_stream->position = 0;
|
||||
packed_stream->L = stream->L;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue