From 42a1f1d7a8cf67eed68db596d6a1e53c0c36e4ab Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 30 Dec 2011 10:42:55 +0100 Subject: Avoid uninitialized data in lcldec when ofs is 0 in MSZH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavutil/lzo.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavutil/lzo.h') diff --git a/libavutil/lzo.h b/libavutil/lzo.h index 379c08c8c7..060b5c9d76 100644 --- a/libavutil/lzo.h +++ b/libavutil/lzo.h @@ -67,9 +67,6 @@ int av_lzo1x_decode(void *out, int *outlen, const void *in, int *inlen); * * cnt > back is valid, this will copy the bytes we just copied, * thus creating a repeating pattern with a period length of back. - * Note that lcldec currently can set back == 0 - which is wrong and - * makes no sense, but the code should at least avoid crashing or hanging - * for this case. */ void av_memcpy_backptr(uint8_t *dst, int back, int cnt); -- cgit v1.2.3