From 6cf41fbded5da5d10312311313a4bb51ac129ac6 Mon Sep 17 00:00:00 2001
From: michael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date: Sat, 7 Jan 2006 03:39:10 +0000
Subject: [PATCH] 10l (assertion failure)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4819 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
---
 libavcodec/snow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index db444f67e..aa569c28c 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -4001,7 +4001,7 @@ 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 + 2)) + 1, s->plane[0].width, s->spatial_dwt_buffer);
+    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);
 
     return 0;
 }
-- 
2.25.4