avprobe: Remove a pointless check
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 14 Oct 2014 15:46:42 +0000 (16:46 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 17 Oct 2014 08:55:46 +0000 (09:55 +0100)
The element is always valid.

CC: libav-stable@libav.org
Bug-Id: CID 732276

avprobe.c

index c56ac27..5fc9ad5 100644 (file)
--- 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");
 }