[MPlayer-cvslog] r21904 - trunk/libmpdemux/demux_gif.c
reimar
subversion at mplayerhq.hu
Sat Jan 13 12:46:43 CET 2007
Author: reimar
Date: Sat Jan 13 12:46:43 2007
New Revision: 21904
Modified:
trunk/libmpdemux/demux_gif.c
Log:
Forgot to adjust length of memset
Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c (original)
+++ trunk/libmpdemux/demux_gif.c Sat Jan 13 12:46:43 2007
@@ -109,7 +109,7 @@
dp = new_demux_packet(priv->w * priv->h);
buf = malloc(len);
memset(buf, 0, len);
- memset(dp->buffer, 0, len);
+ memset(dp->buffer, 0, priv->w * priv->h);
if (DGifGetLine(gif, buf, len) == GIF_ERROR) {
PrintGifError();
More information about the MPlayer-cvslog
mailing list