[FFmpeg-cvslog] r10451 - trunk/libavcodec/snow.c

michael subversion
Sun Sep 9 14:24:45 CEST 2007


Author: michael
Date: Sun Sep  9 14:24:45 2007
New Revision: 10451

Log:
spatial_decoomposition_count != 5 bugfix


Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Sun Sep  9 14:24:45 2007
@@ -4405,8 +4405,8 @@ static int decode_init(AVCodecContext *a
     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;
 }
 




More information about the ffmpeg-cvslog mailing list