Commit 56d7f7d9 authored by Michael Niedermayer's avatar Michael Niedermayer

snowenc: get rid of VLA (well it wasnt really variable anyway)

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 13a21523
...@@ -1964,8 +1964,8 @@ AVCodec ff_snow_encoder = { ...@@ -1964,8 +1964,8 @@ AVCodec ff_snow_encoder = {
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
int main(void){ int main(void){
int width=256; #define width 256
int height=256; #define height 256
int buffer[2][width*height]; int buffer[2][width*height];
SnowContext s; SnowContext s;
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment