aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-02-09 22:56:19 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-10 00:12:01 +0100
commitd23af72a0cb86298ff740e07b2b293a07c62ed44 (patch)
treed0e5a9a386e3edfbecc87a184c1e8ee4d9a3fa4a
parentdaccbe81a2be2e1bf3ee862ae65fcd1bdec229b1 (diff)
downloadffmpeg-d23af72a0cb86298ff740e07b2b293a07c62ed44.tar.gz
avcodec/tests/mjpegenc_huffman: Remove static in main() table
Avoids false positives when greping for non constant statics Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/tests/mjpegenc_huffman.c2
1 files changed, 1 insertions, 1 deletions
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},