Mercurial > libavcodec.hg
changeset 2268:5b3dfc4103b9 libavcodec
10l (segfault)
author | michael |
---|---|
date | Mon, 27 Sep 2004 03:19:24 +0000 |
parents | 143c17950b55 |
children | 535b7dfee202 |
files | svq1.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/svq1.c Mon Sep 27 03:17:26 2004 +0000 +++ b/svq1.c Mon Sep 27 03:19:24 2004 +0000 @@ -1299,6 +1299,7 @@ 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));