summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:20 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:20 +0000
commit3d23a83fd1e0732d9103ceaf8fd30ac3aadf7035 (patch)
treef02d32497d7c5b913ef32a2270c498ed47a987d1 /decoder.h
parentAdding upstream version 1.1. (diff)
downloadclzip-upstream/1.2.tar.xz
clzip-upstream/1.2.zip
Adding upstream version 1.2.upstream/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++];
}