From e60cbb5cacaa43eda7a3df7c2d9051a9437e7046 Mon Sep 17 00:00:00 2001
From: Yann Collet
LZ4F_errorCode_t LZ4F_resetDecompressionContext(LZ4F_dctx* dctx); -When decompression ends successfully, - it's possible to start a new decompression immediately - re-using the same context. - However, in case of an error, the context is left in "undefined" state. +
void LZ4F_resetDecompressionContext(LZ4F_dctx* dctx); /* always successful */ +In case of an error, the context is left in "undefined" state. In which case, it's necessary to reset it, before re-using it. This method can also be used to abruptly stop an unfinished decompression, - and start a new on the same context. + and start a new with the same context.