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
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/probetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/probetest.c b/tools/probetest.c
index d1d77b37a5..b4bb5aea9e 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -30,9 +30,9 @@ static int failures = 0;
static void probe(AVProbeData *pd, int type, int p, int size)
{
int i = 0;
- AVInputFormat *fmt;
+ AVInputFormat *fmt = NULL;
- for (fmt = first_iformat; fmt != NULL; fmt = fmt->next) {
+ while ((fmt = av_iformat_next(fmt))) {
if (fmt->flags & AVFMT_NOFILE)
continue;
if (fmt->read_probe) {