mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 17:54:25 +00:00
tools/probetest: use named constant for the maximum number of formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b8f276e645
commit
32584667ea
@ -24,7 +24,8 @@
|
|||||||
#include "libavcodec/put_bits.h"
|
#include "libavcodec/put_bits.h"
|
||||||
#include "libavutil/lfg.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 int failures = 0;
|
||||||
|
|
||||||
static void probe(AVProbeData *pd, int type, int p, int size)
|
static void probe(AVProbeData *pd, int type, int p, int size)
|
||||||
|
Loading…
Reference in New Issue
Block a user