diff options
Diffstat (limited to '')
-rw-r--r-- | decoder.h | 2 |
1 files changed, 1 insertions, 1 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]; |