[Ffmpeg-cvslog] r7163 - trunk/libavcodec/flicvideo.c
alex
subversion
Thu Nov 23 23:57:20 CET 2006
Author: alex
Date: Thu Nov 23 23:57:20 2006
New Revision: 7163
Modified:
trunk/libavcodec/flicvideo.c
Log:
10l memory corruption bug found by Steven Johnson
Modified: trunk/libavcodec/flicvideo.c
==============================================================================
--- trunk/libavcodec/flicvideo.c (original)
+++ trunk/libavcodec/flicvideo.c Thu Nov 23 23:57:20 2006
@@ -536,7 +536,7 @@
case FLI_BLACK:
/* set the whole frame to 0x0000 which is balck in both 15Bpp and 16Bpp modes. */
memset(pixels, 0x0000,
- s->frame.linesize[0] * s->avctx->height * 2);
+ s->frame.linesize[0] * s->avctx->height);
break;
case FLI_BRUN:
More information about the ffmpeg-cvslog
mailing list