projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d3285
)
10l memory corruption bug found by Steven Johnson
author
Alex Beregszaszi
<alex@rtfs.hu>
Thu, 23 Nov 2006 22:57:20 +0000
(22:57 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Thu, 23 Nov 2006 22:57:20 +0000
(22:57 +0000)
Originally committed as revision 7163 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/flicvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/flicvideo.c
b/libavcodec/flicvideo.c
index
0e6f5bd
..
fcdaf83
100644
(file)
--- 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: