Module: libav
Branch: master
Commit: 9f3e781eabfe85e8bfbbdc97dc581d79c24ea99d

Author:    Mans Rullgard <[email protected]>
Committer: Mans Rullgard <[email protected]>
Date:      Wed Apr 11 13:03:25 2012 +0100

qdm2: make a table static const

Signed-off-by: Mans Rullgard <[email protected]>

---

 libavcodec/qdm2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index b236977..8d9d281 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; ) {

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to