Commit d094052c authored by Loren Merritt's avatar Loren Merritt
Browse files

fix a crash in SVQ1 with cmp!=sad

Originally committed as revision 19625 to svn://
parent 7a9c86e9
......@@ -499,6 +499,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx)
s->avctx= avctx;
s->m.avctx= avctx;
s-> =
s-> av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t));
s-> = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
s-> = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment