提交 32584667 编写于 作者: M Michael Niedermayer

tools/probetest: use named constant for the maximum number of formats

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 b8f276e6
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册