summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2025-02-05 17:10:56 +0000
committerDaniel Baumann <daniel@debian.org>2025-02-05 17:10:56 +0000
commit85dea1625815830db13e799ff909029ea66a34e4 (patch)
tree88e8f2d69c052f2cf74d798fb52a1a82a7eb6bad /decoder.h
parentUpdating standards version to 3.9.2. (diff)
downloadlzip-85dea1625815830db13e799ff909029ea66a34e4.tar.xz
lzip-85dea1625815830db13e799ff909029ea66a34e4.zip
Merging upstream version 1.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'decoder.h')
-rw-r--r--decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder.h b/decoder.h
index 9fd1423..a974b33 100644
--- a/decoder.h
+++ b/decoder.h
@@ -1,5 +1,5 @@
/* Lzip - Data compressor based on the LZMA algorithm
- Copyright (C) 2008, 2009, 2010 Antonio Diaz Diaz.
+ Copyright (C) 2008, 2009, 2010, 2011 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -52,7 +52,7 @@ public:
uint8_t get_byte()
{
- if( finished() ) return 0;
+ if( finished() ) return 0x55; // make code != 0
return buffer[pos++];
}