diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 21:42:07 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 21:42:07 +0200 |
commit | 21c3e54010129b504891e1786bf425d89328c969 (patch) | |
tree | 2e3eba26f5f0fa454188e1b52c7cab3761c4f208 /lzo/src/lzo1a_99.c | |
parent | d4a1b52faa85df4446560a48c6bcc57f016e0c3c (diff) | |
parent | b42eacfa8da0a642d629714f188cc0fc4c7e601a (diff) |
Merge
Diffstat (limited to 'lzo/src/lzo1a_99.c')
-rw-r--r-- | lzo/src/lzo1a_99.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lzo/src/lzo1a_99.c b/lzo/src/lzo1a_99.c index 79bcf73e..57f5f32d 100644 --- a/lzo/src/lzo1a_99.c +++ b/lzo/src/lzo1a_99.c @@ -2,6 +2,9 @@ This file is part of the LZO real-time data compression library. + Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer @@ -49,7 +52,7 @@ // ************************************************************************/ -#define LZO_NEED_DICT_H +#define LZO_NEED_DICT_H 1 #include "config1a.h" @@ -66,7 +69,7 @@ _lzo1a_do_compress ( const lzo_bytep in, lzo_uint in_len, int r; /* don't try to compress a block that's too short */ - if (in_len <= 0) + if (in_len == 0) { *out_len = 0; r = LZO_E_OK; |