Correct wrong memset invocation.
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Wed, 9 Aug 2006 07:52:28 +0000 (07:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 9 Aug 2006 07:52:28 +0000 (07:52 +0000)
patch by Panagiotis Issaris, takis%%.%%issaris%%@%%uhasselt%%.%%be

Originally committed as revision 5966 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vmdav.c

index b850a09f9ae59e409754f3022f6df3fa1a721103..072a5a502b3814215c3835f704f6a45649c6603a 100644 (file)
@@ -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;