10l (assertion failure)
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jan 2006 03:39:10 +0000 (03:39 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jan 2006 03:39:10 +0000 (03:39 +0000)
Originally committed as revision 4819 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index db444f6..aa569c2 100644 (file)
@@ -4001,7 +4001,7 @@ static int decode_init(AVCodecContext *avctx)
     common_init(avctx);
 
     block_size = MB_SIZE >> s->block_max_depth;
     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;
 }
 
     return 0;
 }