aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snowdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-11 05:32:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-11 05:32:16 +0200
commit48d20b918c80a68e61f8bdedbf335ed4a00d6a32 (patch)
treeba9e6867592125f283d272291144607adc79895f /libavcodec/snowdec.c
parent994923ec00df301fd850d6f4e97d91dcc33e25a1 (diff)
downloadffmpeg-48d20b918c80a68e61f8bdedbf335ed4a00d6a32.tar.gz
snowdec: increase stack size
Fixes Ticket1632 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/snowdec.c')
-rw-r--r--libavcodec/snowdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c
index b4799d976c..0a7f9df146 100644
--- a/libavcodec/snowdec.c
+++ b/libavcodec/snowdec.c
@@ -413,7 +413,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
ff_slice_buffer_destroy(&s->sb);
if ((res = ff_slice_buffer_init(&s->sb, s->plane[0].height,
(MB_SIZE >> s->block_max_depth) +
- s->spatial_decomposition_count * 8 + 1,
+ s->spatial_decomposition_count * 11 + 1,
s->plane[0].width,
s->spatial_idwt_buffer)) < 0)
return res;