Browse Source

10l memory corruption bug found by Steven Johnson

Originally committed as revision 7163 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 19 years ago
parent
commit
fe99025b16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flicvideo.c

+ 1
- 1
libavcodec/flicvideo.c View File

@@ -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:


Loading…
Cancel
Save