Originally committed as revision 10452 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent 61806e9fa7
commit ba8964db60
  1. 2
      libavcodec/snow.c

@ -4406,7 +4406,7 @@ static int decode_init(AVCodecContext *avctx)
block_size = MB_SIZE >> s->block_max_depth;
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);
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;
}

Loading…
Cancel
Save