Commit 1483ef8b authored by michael's avatar michael

spatial_decoomposition_count != 5 bugfix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10451 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a19c54f
......@@ -4405,8 +4405,8 @@ static int decode_init(AVCodecContext *avctx)
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;
}
......
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