diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2006-11-24 01:57:20 +0300 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2006-11-24 01:57:20 +0300 |
commit | fe99025b167634ceca4bc8118e2b9eeda5769d21 (patch) | |
tree | 19c750181a87ff8c562ac12b17b9cef2f7c8c26b /libavcodec/flicvideo.c | |
parent | b9d328597c4309b2dfd46e373b1b97b4509630e9 (diff) |
10l memory corruption bug found by Steven Johnson
Originally committed as revision 7163 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flicvideo.c')
-rw-r--r-- | libavcodec/flicvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 0e6f5bdcec..fcdaf834bc 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -536,7 +536,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx, 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: |