From 56d7f7d955826959b2d3b97d6ef352b7917c98ea Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 6 Oct 2012 13:59:35 +0200 Subject: [PATCH] snowenc: get rid of VLA (well it wasnt really variable anyway) Signed-off-by: Michael Niedermayer --- libavcodec/snowenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index b1377cadd2..ca422cae1d 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1964,8 +1964,8 @@ AVCodec ff_snow_encoder = { #include "libavutil/mathematics.h" int main(void){ - int width=256; - int height=256; +#define width 256 +#define height 256 int buffer[2][width*height]; SnowContext s; int i;