]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/tests/mjpegenc_huffman: Remove static in main() table
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Feb 2017 21:56:19 +0000 (22:56 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Feb 2017 23:12:01 +0000 (00:12 +0100)
Avoids false positives when greping for non constant statics

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tests/mjpegenc_huffman.c

index 33e1f5faa3002320113043a7da132ebb5908fe56..2ed92d07d583ec76172ce01fc099a048fa6cf581 100644 (file)
@@ -117,7 +117,7 @@ int main(int argc, char **argv)
 {
     int i, ret = 0;
     // Probabilities of symbols 0..4
-    static PTable val_counts[] = {
+    PTable val_counts[] = {
         {.value = 0, .prob = 1},
         {.value = 1, .prob = 2},
         {.value = 2, .prob = 5},