diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-02 10:39:54 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-03 16:31:23 +0300 |
commit | 33895451570742c47404fec52d87a5c71de26b83 (patch) | |
tree | fefe88ccf8c1ac85e9f874d429a43f7e9ea88842 /libavcodec/snowenc.c | |
parent | fb93e61e2b7baa44ff991bc0ce96291490a0188e (diff) | |
download | ffmpeg-33895451570742c47404fec52d87a5c71de26b83.tar.gz |
snow: remove a VLA used for edge emulation
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/snowenc.c')
-rw-r--r-- | libavcodec/snowenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 7503953e11..f732820bd3 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -675,7 +675,7 @@ static int get_block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index, uin uint8_t *src= s-> input_picture.data[plane_index]; IDWTELEM *pred= (IDWTELEM*)s->m.obmc_scratchpad + plane_index*block_size*block_size*4; uint8_t *cur = s->scratchbuf; - uint8_t tmp[ref_stride*(2*MB_SIZE+HTAPS_MAX-1)]; + uint8_t *tmp = s->emu_edge_buffer; const int b_stride = s->b_width << s->block_max_depth; const int b_height = s->b_height<< s->block_max_depth; const int w= p->width; |