OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9c86e
)
fix a crash in SVQ1 with cmp!=sad
author
Loren Merritt
<lorenm@u.washington.edu>
Tue, 11 Aug 2009 07:04:33 +0000
(07:04 +0000)
committer
Loren Merritt
<lorenm@u.washington.edu>
Tue, 11 Aug 2009 07:04:33 +0000
(07:04 +0000)
Originally committed as revision 19625 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq1enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq1enc.c
b/libavcodec/svq1enc.c
index
9594287
..
357f39d
100644
(file)
--- a/
libavcodec/svq1enc.c
+++ b/
libavcodec/svq1enc.c
@@
-499,6
+499,7
@@
static av_cold int svq1_encode_init(AVCodecContext *avctx)
s->avctx= avctx;
s->m.avctx= avctx;
+ s->m.me.temp =
s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t));
s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));