Mercurial > libavcodec.hg
changeset 5660:cd95f83ac235 libavcodec
spatial_decomposition_count != 5 bugfix
author | michael |
---|---|
date | Sun, 09 Sep 2007 12:24:45 +0000 |
parents | ff44e77914ca |
children | 5da86360c38b |
files | snow.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/snow.c Sun Sep 09 12:22:11 2007 +0000 +++ b/snow.c Sun Sep 09 12:24:45 2007 +0000 @@ -4405,8 +4405,8 @@ common_init(avctx); block_size = MB_SIZE >> s->block_max_depth; - 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_idwt_buffer); - + + slice_buffer_init(&s->sb, s->plane[0].height, (block_size) + (s->spatial_decomposition_count * 8) + 1, s->plane[0].width, s->spatial_idwt_buffer); return 0; }