avprobe: Remove a pointless check

The element is always valid.

CC: libav-stable@libav.org
Bug-Id: CID 732276
This commit is contained in:
Luca Barbato 2014-10-14 16:46:42 +01:00 committed by Vittorio Giovara
parent e58a140cf9
commit aeb23fc454
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ static void ini_print_object_header(const char *name)
}
avio_printf(probe_out, "%s", name);
if (el && el->type == ARRAY)
if (el->type == ARRAY)
avio_printf(probe_out, ".%"PRId64"", el->nb_elems);
avio_printf(probe_out, "]\n");
}