diff options
author | cnlohr <lohr85@gmail.com> | 2017-03-15 21:34:33 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-03-15 21:34:33 -0400 |
commit | a15a75ea846f434691fc30f0db79e5fa844c065c (patch) | |
tree | 1700220b41256938f24ab67815b633fa5c2d9cf2 /src | |
parent | 2b93b2c57f8fea99ed9a5de520b274696e058faf (diff) | |
download | libsurvive-a15a75ea846f434691fc30f0db79e5fa844c065c.tar.gz libsurvive-a15a75ea846f434691fc30f0db79e5fa844c065c.tar.bz2 |
add note about extra 2 bytes.
Diffstat (limited to 'src')
-rwxr-xr-x | src/survive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c index 3c16353..a756f3e 100755 --- a/src/survive.c +++ b/src/survive.c @@ -252,6 +252,7 @@ struct SurviveObject * survive_get_so_by_name( struct SurviveContext * ctx, cons int survive_simple_inflate( struct SurviveContext * ctx, const char * input, int inlen, char * output, int outlen ) { + //Tricky: we actually get 2 bytes of data on the front. I don't know what it's for. 0x78 0x9c - puff doesn't deal with it well. unsigned long ol = outlen; unsigned long il = inlen-2; int ret = puff( output, &ol, input+2, &il ); |