feat/api #46

Open
Gregor Weiss wants to merge 55 commits from feat/api into main
Showing only changes of commit ae7d48c458 - Show all commits

View file

@ -461,7 +461,7 @@ get_chunck(bitstream *const stream, const uint64 size)
! ! ! !
\*----------------------------------------------------------------------------------------------------------*/ \*----------------------------------------------------------------------------------------------------------*/
uchar uchar
terminate_stream(bitstream *stream, bwc_stream *const packed_stream) terminate_stream(bitstream *stream, bitstream *const packed_stream)
{ {
/*-----------------------*\ /*-----------------------*\
! DEFINE ASSERTIONS: ! ! DEFINE ASSERTIONS: !
@ -491,6 +491,7 @@ terminate_stream(bitstream *stream, bwc_stream *const packed_stream)
packed_stream->access = stream->memory; packed_stream->access = stream->memory;
packed_stream->size = stream->L; packed_stream->size = stream->L;
packed_stream->position = 0; packed_stream->position = 0;
packed_stream->L = stream->L;
} }
else else
{ {