Commit 126b0c16 authored by michael's avatar michael

10l (segfault)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3520 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 177d18b1
......@@ -1299,6 +1299,7 @@ static int svq1_encode_init(AVCodecContext *avctx)
s->c_block_height = (s->frame_height / 4 + 15) / 16;
s->avctx= avctx;
s->m.avctx= avctx;
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));
......
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