[FFmpeg-cvslog] r19625 - trunk/libavcodec/svq1enc.c
lorenm
subversion
Tue Aug 11 09:04:33 CEST 2009
Author: lorenm
Date: Tue Aug 11 09:04:33 2009
New Revision: 19625
Log:
fix a crash in SVQ1 with cmp!=sad
Modified:
trunk/libavcodec/svq1enc.c
Modified: trunk/libavcodec/svq1enc.c
==============================================================================
--- trunk/libavcodec/svq1enc.c Mon Aug 10 22:53:32 2009 (r19624)
+++ trunk/libavcodec/svq1enc.c Tue Aug 11 09:04:33 2009 (r19625)
@@ -499,6 +499,7 @@ static av_cold int svq1_encode_init(AVCo
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));
More information about the ffmpeg-cvslog
mailing list