Mercurial > libavcodec.hg
comparison snow.c @ 3017:1fb6215d621b libavcodec
10l (assertion failure)
author | michael |
---|---|
date | Sat, 07 Jan 2006 03:39:10 +0000 |
parents | 088920c095fc |
children | 1d22fe43aa78 |
comparison
equal
deleted
inserted
replaced
3016:97e6c0f82182 | 3017:1fb6215d621b |
---|---|
3999 avctx->pix_fmt= PIX_FMT_YUV420P; | 3999 avctx->pix_fmt= PIX_FMT_YUV420P; |
4000 | 4000 |
4001 common_init(avctx); | 4001 common_init(avctx); |
4002 | 4002 |
4003 block_size = MB_SIZE >> s->block_max_depth; | 4003 block_size = MB_SIZE >> s->block_max_depth; |
4004 slice_buffer_init(&s->sb, s->plane[0].height, (block_size) + (s->spatial_decomposition_count * (s->spatial_decomposition_count + 2)) + 1, s->plane[0].width, s->spatial_dwt_buffer); | 4004 slice_buffer_init(&s->sb, s->plane[0].height, (block_size) + (s->spatial_decomposition_count * (s->spatial_decomposition_count + 3)) + 1, s->plane[0].width, s->spatial_dwt_buffer); |
4005 | 4005 |
4006 return 0; | 4006 return 0; |
4007 } | 4007 } |
4008 | 4008 |
4009 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){ | 4009 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){ |