Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/probetest.c')
-rw-r--r--tools/probetest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/probetest.c b/tools/probetest.c
index b13c6f96d7..7f6862a02c 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -24,7 +24,8 @@
#include "libavcodec/put_bits.h"
#include "libavutil/lfg.h"
-static int score_array[1000]; //this must be larger than the number of formats
+#define MAX_FORMATS 1000 //this must be larger than the number of formats
+static int score_array[MAX_FORMATS];
static int failures = 0;
static void probe(AVProbeData *pd, int type, int p, int size)