summaryrefslogtreecommitdiff
path: root/libavcodec/snowenc.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-30 10:34:39 -0700
committerMartin Storsjö <martin@martin.st>2012-07-03 12:16:46 +0300
commitcbd9b2f918af681d206d10340f87fc6aced5cf3e (patch)
treec27f79cfc43bd2e02d22a013537a646ef00cb8f2 /libavcodec/snowenc.c
parent4d8516fdb15d0177ad745228508254dee187dff9 (diff)
snow: remove the runs[] VLA.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/snowenc.c')
-rw-r--r--libavcodec/snowenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index f8694ae813..7503953e11 100644
--- a/libavcodec/snowenc.c
+++ b/libavcodec/snowenc.c
@@ -836,7 +836,7 @@ static int encode_subband_c0run(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTE
if(1){
int run=0;
- int runs[w*h];
+ int *runs = s->run_buffer;
int run_index=0;
int max_index;