From 9f3e781eabfe85e8bfbbdc97dc581d79c24ea99d Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Wed, 11 Apr 2012 13:03:25 +0100 Subject: qdm2: make a table static const Signed-off-by: Mans Rullgard --- libavcodec/qdm2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/qdm2.c') diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index b236977fa6..8d9d281f5d 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -499,7 +499,7 @@ static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_ int j,k; int ch; int run, case_val; - int switchtable[23] = {0,5,1,5,5,5,5,5,2,5,5,5,5,5,5,5,3,5,5,5,5,5,4}; + static const int switchtable[23] = {0,5,1,5,5,5,5,5,2,5,5,5,5,5,5,5,3,5,5,5,5,5,4}; for (ch = 0; ch < channels; ch++) { for (j = 0; j < 64; ) { -- cgit v1.2.3