[Ffmpeg-devel] [PATCH] Incorrect memset in Sierra decoder
Panagiotis Issaris
takis
Tue Aug 8 16:19:48 CEST 2006
Hi,
[Sorry for this duplicate post, but the previous one had the patch
in attachment because of the usage of Thunderbird]
A memset in the Sierra VMD audio & video decoder seems to be wrong. The
attached patch fixes this.
With friendly regards,
Takis
Index: libavcodec/vmdav.c
===================================================================
--- libavcodec/vmdav.c (revision 5955)
+++ libavcodec/vmdav.c (working copy)
@@ -92,7 +92,7 @@
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;
More information about the ffmpeg-devel
mailing list