Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2c9a359ab6
commit
5b51478421
10 changed files with 34 additions and 50 deletions
|
@ -259,7 +259,7 @@ void LZd_flush_data( struct LZ_decoder * const d );
|
|||
int seek_read( const int fd, uint8_t * const buf, const int size,
|
||||
const int offset );
|
||||
|
||||
static inline uint8_t LZd_peek1( const struct LZ_decoder * const d )
|
||||
static inline uint8_t LZd_peek_prev( const struct LZ_decoder * const d )
|
||||
{
|
||||
const int i = ( ( d->pos > 0 ) ? d->pos : d->buffer_size ) - 1;
|
||||
return d->buffer[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue