[SCM] libav/experimental: fix a crash in SVQ1 with cmp!=sad
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:49:56 UTC 2013
The following commit has been merged in the experimental branch:
commit d094052c8e8a036666ac02bfc52bf221ad39e4c8
Author: Loren Merritt <lorenm at u.washington.edu>
Date: Tue Aug 11 07:04:33 2009 +0000
fix a crash in SVQ1 with cmp!=sad
Originally committed as revision 19625 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 9594287..357f39d 100644
--- 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));
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list