On 06/15/2012 01:02 AM, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <rsbul...@gmail.com>
> 
> ---
>  libavcodec/snowenc.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
> index 7b010e1..3c06f8e 100644
> --- a/libavcodec/snowenc.c
> +++ b/libavcodec/snowenc.c
> @@ -1074,8 +1074,9 @@ static void iterative_me(SnowContext *s){
>                  BlockNode *blb= mb_x           && mb_y+1<b_height ? 
> &s->block[index+b_stride-1] : NULL;
>                  BlockNode *brb= mb_x+1<b_width && mb_y+1<b_height ? 
> &s->block[index+b_stride+1] : NULL;
>                  const int b_w= (MB_SIZE >> s->block_max_depth);
> -                uint8_t obmc_edged[b_w*2][b_w*2];
> +                uint8_t obmc_edged[MB_SIZE * 2][MB_SIZE * 2];
>  
> +                assert(b_w <= MB_SIZE);

Ok. I guess being more invasive is pointless as now.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to