diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 20:42:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 22:33:52 +0100 |
commit | 32584667ea51d04650daeb46c83e7838448d0ec9 (patch) | |
tree | a40f81a5972ef29e822b48f2fe58027a13ca5370 | |
parent | b8f276e6457413530a38a16a4e79988932d7e661 (diff) | |
download | ffmpeg-32584667ea51d04650daeb46c83e7838448d0ec9.tar.gz |
tools/probetest: use named constant for the maximum number of formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | tools/probetest.c | 3 |
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) |