[FFmpeg-cvslog] snowdec: increase stack size

Michael Niedermayer git at videolan.org
Sat Aug 11 05:46:34 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 11 05:32:16 2012 +0200| [48d20b918c80a68e61f8bdedbf335ed4a00d6a32] | committer: Michael Niedermayer

snowdec: increase stack size

Fixes Ticket1632

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48d20b918c80a68e61f8bdedbf335ed4a00d6a32
---

 libavcodec/snowdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c
index b4799d9..0a7f9df 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;



More information about the ffmpeg-cvslog mailing list