# HG changeset patch # User alex # Date 1164322640 0 # Node ID cb5e46ee049568457a5b9d3c42ff6213ec636925 # Parent c769e4b0c75e2a0bfa7572d5c56417497439cf1e 10l memory corruption bug found by Steven Johnson diff -r c769e4b0c75e -r cb5e46ee0495 flicvideo.c --- a/flicvideo.c Thu Nov 23 22:22:03 2006 +0000 +++ b/flicvideo.c Thu Nov 23 22:57:20 2006 +0000 @@ -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: