summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-10-14 16:46:42 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-10-17 09:55:46 +0100
commitaeb23fc4549a25ef32ff085d2a76227f90caf403 (patch)
tree064f665e32672dc4943fe40d1290235f18f3e7e4 /avprobe.c
parente58a140cf91d1a9cdfa3115d73c923dab0e9e7dc (diff)
avprobe: Remove a pointless check
The element is always valid. CC: libav-stable@libav.org Bug-Id: CID 732276
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index c56ac27efa..5fc9ad5694 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -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");
}