From e38f34fd7f1ed892ccd81673662a511d21638f2d Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Wed, 9 Aug 2006 07:52:28 +0000 Subject: [PATCH] Correct wrong memset invocation. patch by Panagiotis Issaris, takis%%.%%issaris%%@%%uhasselt%%.%%be Originally committed as revision 5966 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vmdav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index b850a09f9a..072a5a502b 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -92,7 +92,7 @@ static void lz_unpack(unsigned char *src, unsigned char *dest, int dest_len) d_end = d + dest_len; dataleft = LE_32(s); s += 4; - memset(queue, QUEUE_SIZE, 0x20); + memset(queue, 0x20, QUEUE_SIZE); if (LE_32(s) == 0x56781234) { s += 4; qpos = 0x111;