Mercurial > libavcodec.hg
comparison svq1.c @ 2268:5b3dfc4103b9 libavcodec
10l (segfault)
author | michael |
---|---|
date | Mon, 27 Sep 2004 03:19:24 +0000 |
parents | de5ed621effc |
children | 26560d4fdb1f |
comparison
equal
deleted
inserted
replaced
2267:143c17950b55 | 2268:5b3dfc4103b9 |
---|---|
1297 | 1297 |
1298 s->c_block_width = (s->frame_width / 4 + 15) / 16; | 1298 s->c_block_width = (s->frame_width / 4 + 15) / 16; |
1299 s->c_block_height = (s->frame_height / 4 + 15) / 16; | 1299 s->c_block_height = (s->frame_height / 4 + 15) / 16; |
1300 | 1300 |
1301 s->avctx= avctx; | 1301 s->avctx= avctx; |
1302 s->m.avctx= avctx; | |
1302 s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t)); | 1303 s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t)); |
1303 s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); | 1304 s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); |
1304 s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); | 1305 s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); |
1305 s->mb_type = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int16_t)); | 1306 s->mb_type = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int16_t)); |
1306 s->dummy = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int32_t)); | 1307 s->dummy = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int32_t)); |