Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
32584667ea
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tools/probetest.c

+ 2
- 1
tools/probetest.c View File

@@ -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)


Loading…
Cancel
Save