fixed --test on zero-length files, reported by @amnilsson

This commit is contained in:
Yann Collet committed 2016-07-26 15:49:24 +02:00
1 parent 9cebec21e1
commit 7adc2328a3
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -4060,7 +4060,7 @@ static seq_t ZSTDv07_decodeSequence(seqState_t* seqState)
}
FORCE_INLINE
static
size_t ZSTDv07_execSequence(BYTE* op,
BYTE* const oend, seq_t sequence,
const BYTE** litPtr, const BYTE* const litLimit_w,