diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-06 13:59:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-06 13:59:35 +0200 |
commit | 56d7f7d955826959b2d3b97d6ef352b7917c98ea (patch) | |
tree | 59941ac2a8ccf3099a20deae7ca2c4033a2b3355 | |
parent | 13a215236b7354dff708c6b3881e3a3058769b33 (diff) | |
download | ffmpeg-56d7f7d955826959b2d3b97d6ef352b7917c98ea.tar.gz |
snowenc: get rid of VLA (well it wasnt really variable anyway)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/snowenc.c | 4 |
1 files 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; |