From d23af72a0cb86298ff740e07b2b293a07c62ed44 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 9 Feb 2017 22:56:19 +0100 Subject: [PATCH] avcodec/tests/mjpegenc_huffman: Remove static in main() table Avoids false positives when greping for non constant statics Signed-off-by: Michael Niedermayer --- libavcodec/tests/mjpegenc_huffman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tests/mjpegenc_huffman.c b/libavcodec/tests/mjpegenc_huffman.c index 33e1f5faa3..2ed92d07d5 100644 --- a/libavcodec/tests/mjpegenc_huffman.c +++ b/libavcodec/tests/mjpegenc_huffman.c @@ -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},