summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:29 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:29 +0000
commit1ca0d3282eb7fd0872b93f18e4923b3f44f2f179 (patch)
tree3fe74ab2a59a6e2fc7ea35b993488cbc80d4135e /decoder.h
parentAdding debian version 1.1-2. (diff)
downloadclzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.tar.xz
clzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.zip
Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-rw-r--r--decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.h b/decoder.h
index bef12c9..f109c54 100644
--- a/decoder.h
+++ b/decoder.h
@@ -65,7 +65,7 @@ static inline void Rd_reset_member_position( struct Range_decoder * const rdec )
static inline uint8_t Rd_get_byte( struct Range_decoder * const rdec )
{
- if( Rd_finished( rdec ) ) return 0;
+ if( Rd_finished( rdec ) ) return 0x55; /* make code != 0 */
return rdec->buffer[rdec->pos++];
}