diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-09-09 12:24:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-09-09 12:24:45 +0000 |
commit | 61806e9fa752ad4bced733b4c4feef3b73d4ef78 (patch) | |
tree | ba2690d4ee395f70153d681f265d3c0d6f8ca304 /libavcodec/snow.c | |
parent | fa731ccd4eafefa98f25b2e686a975772259fb2f (diff) | |
download | ffmpeg-61806e9fa752ad4bced733b4c4feef3b73d4ef78.tar.gz |
spatial_decomposition_count != 5 bugfix
Originally committed as revision 10451 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 9330df53d6..dcaa682fc8 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -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; } |